Jump to content
Sign in to follow this  
Matthew R White

Help!

Recommended Posts

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

Share this post


Link to post
Share on other sites

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 by Lee Smith
Removed site information.

Share this post


Link to post
Share on other sites

..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

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

instead of changing layouts perhaps you should open a new window, goto layout, add record, then close the window when done.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

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