Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7407 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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

Posted

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.

This topic is 7407 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.