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

Recommended Posts

Posted

I want to validate the input in my Date field by a calculation.

I have the fields:

EmployeeID

Date

It has to check if the date already exists for that user and if the date is older than tomorrow.

thanks in advance

Posted

Is this what you mean, Michael?

Almost. The concatenating text field must be validated for Unique, Validate always. That takes care of the first requirement.

As for the second requirement, you could add it as 'Validated by calculation' to the same field, or validate the date field separately. The former may be simpler, but splitting the validation between the two fields allows you to pinpoint the message to the user. With a combined validation, the message is by necessity vague.

Posted

I tried that approach but then I get the problem

that only one user can use a date.

I want all my user to use dates from today and earlier but a user can only use a date once.

Posted

I tried that approach but then I get the problem

that only one user can use a date.

No, any user can use any date once. After that, the used date becomes unavailable to that user, but other users are not affected.

Posted

I'll make an example of it and post it later.

Maybe you can help me with this:

I'm making a script but I want to add a feature

that compares the current date with the found records and if the current date does not exist

it makes a new record.

What I got so far:

Go to Search

set field emloyee with user

set field checked with no

Search

Sort

if (???:Date = Get (CurrentDate))

Go to First

else

New record request

end if

Posted

Sorry I wasn't clear about that but I mean that they can fill in dates from today and from days before today like yesterday ???

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