Plucky Posted October 10, 2009 Posted October 10, 2009 Hi I have set up a script that exports several fields as a .tab file but would like it to only export data from the record that I run the script from and not the other found records. any ideas. Regards Peter
LaRetta Posted October 10, 2009 Posted October 10, 2009 Hi Peter, suggested script would be: New Window (this preserves your existing found set if you have one. You will close this window when done.) Show All Records Omit Record Show Omitted Only Loop Exit Loop If [ Get ( FoundCount ) = 1 Go To Record/Request/Page [ Last ] Omit Record End Loop ... list your export here Close Window This methodology was learned from -Queue- and it isolates one record while still protecting from another user creating a new record during its execution (which would pop the new record into the 'omitted set' you want to work with). :wink2:
Plucky Posted October 10, 2009 Author Posted October 10, 2009 Thanks LaRetta , That's done the trick. Regards Peter
Recommended Posts
This topic is 5522 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