Breaking Relationships

Ask a Question related to FileMaker, Design and Development.

  1. #1

    Default Breaking Relationships

    Does anyone know of a way to "lock" relationships?

    If a db is related to second db on the network, and the network is down or
    unavailable, the user is prompted to find the db. More than once a user has
    picked the first file he sees which is always wrong. Then it breaks the
    relationship and the entire chain of links. What a pain!

    I can't error trap around the the problem. Any suggestions?

    All these FileMaker Pros, I can't imagine I'm the only one who has run into
    this problem.

    Matt Revenaugh

    Matt Revenaugh Guest

  2. Similar Questions and Discussions

    1. MS SQL Relationships
      i cant seem to find a visual tool ( like access ) in ms sql enterprise manger that allows me to setup relationships im sure its somewhere obvious...
    2. table relationships
      How do I programmtically get the relationships of a table?? I can get the list of columns: dtFields = conn.GetOleDbSchemaTable(OleDbSchemaGuid.,...
    3. Relationships in FMP5.5
      I recently upgraded us from FMP4.1 running peer to peer over TCP/IP using clients on win98, win2000, winxp pro. Used to work fine. Then I upgraded...
    4. Resolving field relationships
      Hi all, I'm trying to build a sort of datagrid control by which i wish to edit/delete/update data in a table. Since I'm using foreign-keys for...
    5. Creating relationships
      Hello, thank you for taking the time to read this, I appreciate it very much. Im creating a database the allows an individual/student to...
  3. #2

    Default Re: Breaking Relationships

    Don't allow FileMaker to search for the required database itself. Before
    the user is prompted to find the database (whatever process is causing that
    in your database), run a script like the following:

    Set Error Capture [on]
    Perform Script [Sub-scripts, YourNetworkDB]
    - select a script that has one step: Toggle Window [minimize]
    If [Status (CurrentError) <> 0]
    Show Message ["YourNetworkDB is not available"]
    Halt Script
    End If

    You could also substitute the Open script step for the Perform Script above,
    which will cause the startup script (if any) to run (assuming the database
    is not already open).

    "Matt Revenaugh" <mrevenaugh@bak.rr.com> wrote in message
    news:BB42D9F8.19CC8%mrevenaugh@bak.rr.com...
    > Does anyone know of a way to "lock" relationships?
    >
    > If a db is related to second db on the network, and the network is down or
    > unavailable, the user is prompted to find the db. More than once a user
    has
    > picked the first file he sees which is always wrong. Then it breaks the
    > relationship and the entire chain of links. What a pain!
    >
    > I can't error trap around the the problem. Any suggestions?
    >
    > All these FileMaker Pros, I can't imagine I'm the only one who has run
    into
    > this problem.
    >
    > Matt Revenaugh
    >

    Glenn Schwandt Guest

  4. #3

    Default Re: Breaking Relationships

    Then run the script before you allow the portal to be displayed.

    "Matt Revenaugh" <mrevenaugh@bak.rr.com> wrote in message
    news:BB42E5C7.1A165%mrevenaugh@bak.rr.com...
    > I display a portal with the related records. So FM automatically opens the
    > related file.
    >
    > Matt Revenaugh
    >
    > --------
    >
    > On 7/22/03 12:44 PM, in article [email]vhr515rfnkve61@corp.supernews.com[/email], "Glenn
    > Schwandt" <schwandtgat@aoldot.com> wrote:
    >
    > > Don't allow FileMaker to search for the required database itself.
    Before
    > > the user is prompted to find the database (whatever process is causing
    that
    > > in your database), run a script like the following:
    > >
    > > Set Error Capture [on]
    > > Perform Script [Sub-scripts, YourNetworkDB]
    > > - select a script that has one step: Toggle Window [minimize]
    > > If [Status (CurrentError) <> 0]
    > > Show Message ["YourNetworkDB is not available"]
    > > Halt Script
    > > End If
    > >
    > > You could also substitute the Open script step for the Perform Script
    above,
    > > which will cause the startup script (if any) to run (assuming the
    database
    > > is not already open).
    > >
    >

    Glenn Schwandt 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