Matthew R White Posted August 14, 2012 Posted August 14, 2012 I have a script that goes to one of my tables, creates a new record, inserts the correct record ID then switches back to the first layout to view/input items. My problem is that when it switches back to the first layout it shows all records created and not the record I just created, is there a good find function to help me resolve this? Thanks Matt
Kishan_Canoo Posted August 17, 2012 Posted August 17, 2012 (edited) I think you should add a line on your script,GO TO the the original layout in layout mode to view your data! Or send me a capture screen i will write the script for you. Edited August 17, 2012 by Lee Smith Removed site information.
Lee Smith Posted August 17, 2012 Posted August 17, 2012 ..snip.. send me a capture screen i will write the script for you. No reason to do this, the forum is able to have attachments post with replies. Just use the "More Reply Options" button instead of the Quick Reply. Lee
eos Posted August 17, 2012 Posted August 17, 2012 I have a script that goes to one of my tables, creates a new record, inserts the correct record ID then switches back to the first layout to view/input items. My problem is that when it switches back to the first layout it shows all records created and not the record I just created, is there a good find function to help me resolve this? This is a rather confusing description; when you switch back to the same layout, you should land at the record from which you started. Are you maybe talking about creating a child record and, upon returning to the parent record, not being able to see it in a portal? You could post the file, and maybe indicate the layout and script in question. PS: this looks like a double post: http://fmforums.com/...ind-new-record/ PPS: Maybe you shouldn't use topic titles like HELP!, but something more meaningful I think you should add a line on your script,GO TO the the original layout in layout mode to view your data! You can't enter Layout mode with a script - and why would you want to view the data there?
Lee Smith Posted August 17, 2012 Posted August 17, 2012 PS: this looks like a double post: http://fmforums.com/...ind-new-record/ PPS: Maybe you shouldn't use topic titles like HELP!, but something more meaningful I deleted the duplicate post @ Matt Please do not use non-discriptive Subjects such as Help. It is kind of a given that you are asking for Help by posting a question. Lee
No_access Posted August 17, 2012 Posted August 17, 2012 instead of changing layouts perhaps you should open a new window, goto layout, add record, then close the window when done.
Recommended Posts
This topic is 4481 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