Wikisnoodle Posted August 16, 2011 Posted August 16, 2011 I need to be able to create 4 records with a single script, and go to the first of the set made. Filemaker flashes up a message asking which record I want to go to, giving the total number of records in the found set, eg: 25. In that circumstance, I'd want to go to 22, but I don't want the end-user having to work that out every time. The message overrides a script step stating that I want to go to '22' (using a calculation based on the contents of a unique no. field). How do I stop that message appearing? (I've tried ErrorCapture but can't find a relevant error number).
Wikisnoodle Posted August 16, 2011 Author Posted August 16, 2011 I'm probably being thick, but I had looked for that and couldn't find it, perhaps because I was trying to use 'Omit Multiple' rather than Perform Find/Omit. But the latter on a wildcard didn't give the required result either. I've since decided, instead of fighting it, use it. I added < Show All Records; Omit Record; Show Omitted Only > after creating the first of the four records. Now the user can just press '1' and click 'OK'. Thanks for the swift response.
comment Posted August 16, 2011 Posted August 16, 2011 I thought you were using Go to Record[]. Why would you use anything else - if you want to go to a specific record?
LaRetta Posted August 16, 2011 Posted August 16, 2011 I need to be able to create 4 records with a single script, and go to the first of the set made. The message overrides a script step stating that I want to go to '22' (using a calculation based on the contents of a unique no. field). If you create four new records then want to go to first of those four, you can go to records (by record number and NOT unique ID). You would use Go To Record [ by calculation ] with calc something like: Get ( RecordNumber ) - 3 Update: This would be based upon you ending on record 4 of the four records created.
Recommended Posts
This topic is 4847 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