Kristen Posted November 26, 2003 Posted November 26, 2003 I have 2 databases related by constant throught the relationship "donor". One is a calander type database. What I am trying to do is this. Click on a date on the calander, this copies the date into a DateField in the calander db. Then through an OK button that performs a script, this date should be set in another field in the related db. My script looks like this, and I can not figure out what is going on. If[isEmpty(gNavigator)] Show Message [buttons: "OK","";Data: "No date is selected"] Else Set Field [Donor:ScheduledTowDate, gNavigator] End if Any ideas where I have gone wrong, or how I can get this to work? Thank you
dbruggmann Posted November 26, 2003 Posted November 26, 2003 The second part of your script (after the
dbruggmann Posted November 27, 2003 Posted November 27, 2003 Hello Kristen Myself working on a german Fielmaker version, yesterday I didn't get the right english Scriptmaker terms for the call to external script. So here again, but this time in english Filemaker: If[isEmpty(gNavigator)] Show Message [buttons: "OK","";Data: "No date is selected"] Else Perform Script [sub-scripts, External:
-Queue- Posted December 1, 2003 Posted December 1, 2003 The only problem I can see for this script step not working is if there is more than one record in the related file. If there is, then the Set Field step is setting the first related record in the related file, which is either the first record created in that file or the first record that would be displayed in a portal for that relationship, if the relationship definition has a sort defined. If there is only one record in the related file, then both of these possibilities would point to the same single record, and your script should work.
Recommended Posts
This topic is 7666 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now