January 18, 200520 yr 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.
January 18, 200520 yr 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).
Create an account or sign in to comment