Ask a Question related to FileMaker, Design and Development.
-
No Spam #1
modify "define relationship" via script
Using a "self join", my data base will identify the FIRST record of a
subset of records. Modifying the "define relationship" with a different
sort order will select the LAST record of the subset. Is is possible to
effect the same change in a script? The "open define relationship"
script step is not desirable, because operator error is too easy.
Can a script dynamically select one of several relationships?
Thanks for any hints.
No Spam Guest
-
Help needed - modify "Link Properties" dialog
According to the docs you can extend Contribute's capabilities in the same way as Dreamweaver by editing dialogue box HTML and corresponding... -
"Devel::DProf" on a PERL script uses "Test::More"
Dear all, I encountered a problem while run profiling on a script which uses "Test::More". May I ask whether anybody have some idea or wrap... -
Modify>Alter Path> "Inset Path" and "Expand Stroke" ERRONEOUS??
Sometimes I have tried to make some custom paths, for example letter 'A' converted to paths (Times New Roman font), and when I tried to use command... -
How do you simulate "." or "source" in a perl script ?
On 7 Aug 2003 08:21:27 -0700 c_j_marshall@hotmail.com (Chris Marshall) wrote: Shell::Source perhaps this CPAN module will do it for you. ... -
Clearing "Clean" & a Select Modify question
Hi All, Suppose I have 100 X 100 pixel square filled in with Navy Blue. What I really want is to hollow out the inside of that square so that I... -
Matthew Smith #2
Re: modify "define relationship" via script
In article <spamshield-BD3380.05060516072003@newstest2.earthlink.net>,
No Spam <spamshield@earthlink.net> wrote:
Why not create two relationships? Each with a different sort order.> Using a "self join", my data base will identify the FIRST record of a
> subset of records. Modifying the "define relationship" with a different
> sort order will select the LAST record of the subset. Is is possible to
> effect the same change in a script? The "open define relationship"
> script step is not desirable, because operator error is too easy.
>
> Can a script dynamically select one of several relationships?
--
Matthew Smith
(to reply via email remove xxx)
Matthew Smith Guest
-
No Spam #3
Re: modify "define relationship" via script
Howard Schlossberg solved my problem with:
Thank you Howard! Your comprehensive reply concisely illustrates a> Define a global field (text) and a calc field. Assuming your sort
> fields are LastName, Company and City, and you want the Company to be
> the default, define the calc as (text results):
perfect solution to my current problem. So now I'm thinking ahead, and
I don't see how to apply your approach to a descending alpha sort.
I had wanted to be able to switch between an ascending and a descending
sort. Since field is numeric, the computation for the sort key either
adds or subtracts the field to (from) an arbitrary bias value for the
two sequences. Yet how could I flip the sort sequence with an alpha
field? Again, I would rather not "open define relationship" and have
the user change the sort.
I hope I'm not overlooking the obvious, and asking to be spoon-fed ...
Phil
No Spam Guest



Reply With Quote

