Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

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

Recommended Posts

Posted

I am new to filemaker, I have two fields and need to insure field a is greater than field b. If it is less that b I need to keep a blank and display an error message saying it must be greater than b.

Posted

In the Validation tab of the field options, use a calculation to validate:

FieldA > FieldB

Then add a custom message if validation fails (at the bottom of the Validation tab.)

You might need to allow one of the fields to be empty, to avoid the validation message after only field has been entered:

FieldA > FieldB or isempty(FieldA)

Posted

Thanks you for the help I still need some guidance so let me give you a better example. I have 6 fields,

Perpetual Start

Perpetual Stop

Total Footage

Footage Used

Field Validation

Error Message

(Footage Used) is a calculation [Prep Stop - Perp Start].

If (Total Footage) is greater than (Footage Used) I would like some type of error message. I created a script that works,

If Field Validation = 0

Beep

Show Message

This topic is 7224 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.