jfrick Posted June 7, 2005 Posted June 7, 2005 I'm trying to omit a record from a found set in ScriptMaker. Enter Find Mode Set Field["codefield","3"] New Record/Request Set Field["codefield","7"] Perform Find Go to Related Record[dumprecord] Omit Record Above doesn't work. I'm guessing "Go to Related Record" resets the found set. I have a specific record, let's say UserID: 42 that I want to omit from this found set. How can I achieve this?
Vaughan Posted June 8, 2005 Posted June 8, 2005 Enter Find Mode Set Field["codefield","3"] New Record/Request Set Field["codefield","7"] Perform Find Loop Exit Loop If { UserId = 42 Go to Record/Request [ next, exit after last ] End Loop Omit Record This is a bare-bones script, it'd need a lot of error checking to be reliable in a production environment... like checking for find errors etc.
Recommended Posts
This topic is 7110 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