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

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

Recommended Posts

Posted

Dear FileMaker Gurus:

There is a FileMaker v.6 DB on Server v.5.5.

Each Book, for sale, has 3 statuses: Active, Freebie and "Out Of Print."

I want to write a script for the "Status" field: if the status is "active," then the price must be "larger than" "$0.00."

Help please!

Happy New Year! Everyone!

Max NY

Posted

Well you could script a find so that you set the two fields to the criteria that you want.

Enter Find Mode []

Set Field ["Status", "active"]

Set Field ["Price", "> 0"]

Perform Find [Replace Found Set]

Posted

Dear John:

Thanks for you reply!

What I am looking for, actually is:

If the "Status" of a book is listed as "Active," no one is allowed to enter "$0.00" into Price Field. The price figure must be greater than "$0.00."

regards,

Max NY

Posted

On then in your Price field definition, validate by calculation.

Case ( Status="Active"; Price > 0 )

Posted

Yes indeed. I forgot that the problem was on FM6. I just read your profile and assumed that it was on 7. So use the comma instead.

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