faada Posted July 28, 2004 Posted July 28, 2004 I'd like to create a field which will return a 'Y' or an 'N' based on the existence of a value in a field in a related record. ie. If there is a record in related table X which has the value "1003" in field 'UID' then "Y" Can anyone help me out with this? 'preciate it. Joey
BrentHedden Posted July 28, 2004 Posted July 28, 2004 Use the Case function - Case( X::UDI = "1003", "N","Y") You could also do it this way with the same results - Case ( X::UDI <> "1003", "Y", "N") (I'm supposing that the field 'UID' is a text or number type) -Brent
Recommended Posts
This topic is 7684 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