Jump to content
Server Maintenance This Week. ×

Goto Original Record.


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

Recommended Posts

Does anyone know of an easy way to, at the end of a script, go back to the record, that the script was launched from.

What I do now is set a global field to Status(Record Number) at the beginning of the script and GotoRecord(byFieldValue)[g_rememberedRecordNumber] at the end of the script. The problem is that it doesn't work if the script has rearranged the records.

I don't want to use a Find since then I'd end up with only the record I'm on, found.

Oh, I just thought of this now: What if I save the record identifier in a global field and GotoRelatedRecord on a relation on that global field. I'll try that.

------Trying it--------

It works!

Thanks for you help smile.gif" border="0

I'll post this in case it helps anyone else.

If anyone knows a better way, let me know.

Link to comment
Share on other sites

This topic is 8122 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.