ChiSao Posted October 5, 2009 Posted October 5, 2009 (edited) Hi, I have a button: NEW RECORD Now if there is already a record, I would like to change the text into: EDIT RECORD The Problem: I have two tables: FIRST TABLE, SECOND TABLE The button is on the layout of the FIRST TABLE and if I klick it goes to layout of SECOND TABLE and will create a related record in the SECOND TABLE. How could I check if there is already a related record? (It's a one to one relationship) THX by ChiSao Edited October 5, 2009 by Guest
Fitch Posted October 5, 2009 Posted October 5, 2009 You should test for this in your script or calculation: IsEmpty( related::ID ) ID here would be whatever you use for a primary key field, since that would always have a value. If it's empty, that means there is no related record.
Recommended Posts
This topic is 5618 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