Newbies JSylvia007 Posted August 12, 2004 Newbies Posted August 12, 2004 I have 2 fields in a table. Basically I need: if(Value in Field1 in any other record = Value for Field1 in new record) AND (DATE in Record = Date in new record) then disallow the creation of the new record. Please help me. I'm not that familiar with FileMaker. ~Jake
RalphL Posted August 12, 2004 Posted August 12, 2004 This is a little tricky and I haven't had to do it in FMP 7 yet. Start by making a calculated text field = Field 1 & " " & Get asText(Date). Make a self-relationship of this new field to itself. You need to validate both fields by calculation. I think it is Count(Self::Field 1) for for Field 1. It may be Count(Self::Field1) = 0. After you get it working make the validation strict. You may also want to use a custom message.
Newbies JSylvia007 Posted August 12, 2004 Author Newbies Posted August 12, 2004 Thanks for the reply! I'll give it a shot! ~Jake
Recommended Posts
This topic is 7670 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