davidnickerson Posted January 18, 2005 Posted January 18, 2005 Searched the forums for this to no avail. I'm upgrading from 6 to 7. One annoying "feature" in 7 is that the Go to Related Record step no longer displays a found set of 0 if there are no related records. This has completely screwed up several of my scripts that rely on a found set of 0 in order to dertermine if a new related record should be created. In 7, if there are no related records, the script step simply takes you to the related layout and shows whatever found set was there previously. Egads. Any ideas on a workaround? Thanks.
-Queue- Posted January 18, 2005 Posted January 18, 2005 If you only need to test whether a related record exists, you can use If [not IsEmpty(rel::key)] (there is at least one related record) or If [isEmpty(rel::key)] (there are no related records). Then only use GTRR if the first one is true and create a new record if it's false (or vice versa with the second).
Recommended Posts
This topic is 7251 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