modify "define relationship" via script

Ask a Question related to FileMaker, Design and Development.

  1. #1

    Default 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

  2. Similar Questions and Discussions

    1. 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...
    2. "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...
    3. 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...
    4. 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. ...
    5. 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...
  3. #2

    Default Re: modify "define relationship" via script

    In article <spamshield-BD3380.05060516072003@newstest2.earthlink.net>,
    No Spam <spamshield@earthlink.net> wrote:
    > 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?
    Why not create two relationships? Each with a different sort order.

    --
    Matthew Smith
    (to reply via email remove xxx)
    Matthew Smith Guest

  4. #3

    Default Re: modify "define relationship" via script

    Howard Schlossberg solved my problem with:
    > 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):
    Thank you Howard! Your comprehensive reply concisely illustrates a
    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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139