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 8904 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

(I am using FM Pro 4.1 for Windows)

I have two fields, Product and Version. Product is defined as a text field and is populated via a value list. I want Version to allow blanks (null) EXCEPT when the value of Product is "Other" in which case Version must have a value.

What would be the best way to accomplish this? (Assuming it CAN be done wink.gif )

[This message has been edited by chandra (edited August 15, 2000).]

Posted

quote:

Originally posted by chandra:

(I am using FM Pro 4.1 for Windows)

I have two fields, Product and Version. Product is defined as a text field and is populated via a value list. I want Version to allow blanks (null) EXCEPT when the value of Product is "Other" in which case Version must have a value.

What would be the best way to accomplish this? (Assuming it CAN be done
wink.gif
)


Here is the basic procedure, you fill in the details.

Put validation (field level or through scripting, I recommend scripting it) on the Version field. The validation should generate an error ONLY if the value of Product="Other" and IsEmpty(Version).

Then perform whatever you want to do to correct the validation error.

I recommend scripting this because users have a hard time dealing with validation errors. Scripting them through the resolution to the error will give you better results.

------------------

=-=-=-=-=-=-=-=-=-=-=-=-=

Kurt Knippel

Senior Filemaker Developer

http://www.database-resources.com

mailto:[email protected]

=-=-=-=-=-=-=-=-=-=-=-=-=

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