jfrick Posted January 2, 2004 Posted January 2, 2004 Using the script below displays the Delete Record dialog before going to the Residence layout. Why? How can I go to the layout first then display the Delete Record dialog? Set Field["gUserID", "Find User::UserID"] Go to Related Record ["gUserID"] Go to Layout ["Residence"] Delete Record/Request[]
jfrick Posted January 2, 2004 Author Posted January 2, 2004 I found it. Refresh Window [bring to Front]
spb Posted January 2, 2004 Posted January 2, 2004 Try adding a "Refresh Window" command between "Go To Layout" and "Delete Record." Steve Brown
CobaltSky Posted January 3, 2004 Posted January 3, 2004 Hmmn... Actually, you don't need an extra command to do this. Just sele3ct the Go To Layout [ ] script step, then enable the checkbox option (which will appear at the bottom of the ScriptMaker dialog) which is labelled 'Refresh Window'. You will then have the sequence: Set Field["gUserID", "Find User::UserID"] Go to Related Record ["gUserID"] Go to Layout [Refresh, "Residence"] Delete Record/Request[] The inclusion of the Refresh parameter within the existing Go to Layout step will make all the difference.
Recommended Posts
This topic is 7633 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