Jump to content
Server Maintenance This Week. ×

Getting Back to Original Record


This topic is 7318 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I wrote a script to go to a specific screen to conduct a find. If no records are found FMP takes the user back to the original layout but not to the record the user started from. A blank screen appears. Is there anything I can put in the script to have the user returned to the record from where they started?

The user cannot altered the fields on the screen that they are viewing so the find function is stored in a button that takes the user to a screen where they can access all of the fields to key in search criteria.

FileMaker Version: 6

Platform: Mac OS X Panther

Link to comment
Share on other sites

Relate a global text field to the id field. Before performing a find, set this global with the current record id. If no records are found, Go to Related Record [show, gID_to_ID].

Link to comment
Share on other sites

Queue,

I thought a global field couldn't be used in a relationship because it cant' be indexed. When I've tried something similar I got a warning error when defining the relationship.

Also what is the 'Show' in the Go to related record calc?

Link to comment
Share on other sites

This topic is 7318 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.