Jump to content

Welcome the ORIGINAL FileMaker Community

Take a moment to join us, no noise, all FileMaker...We Promise

LilacD

Date

Recommended Posts

LilacD

Hi,

 

I'm new to database development. I'm trying to create a date field that won't allow anyone to enter today's date or beyond.

 

 

 

This is what I entered;

Case ( Date of Birth >; Get ( CurrentDate ) ;0)

 

 

"Date of Birth" is the field.

Now I get an error message no matter what date is entered!

 

I hope you can help me!

 

Thanks.

 

LilacD

Share this post


Link to post
Share on other sites
AHunter3

I assume this formula was entered in field validation?

 

Change the formula to:

 

Date of Birth

 

 

It evaulates as a boolean expression, meaning that if it is true the result is 1 (= accepted value) whereas if it is false the result is 0 (= rejected value)

Share this post


Link to post
Share on other sites
LilacD

Perfect! It worked. Thanks so much for your help!!!!! Much appreciated.

LilacD

Share this post


Link to post
Share on other sites
This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Terms of Use