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

Recommended Posts

Posted

EDIT: Figured this out. So simple. Rather than use a field calculation in the table, I just calc it in the same script that enters the ClockOut timestamp.

In a timeclock program, a timestamp is entered into a ClockIn field first, then when the employee leaves a timestamp is entered into a ClockOut field. A calculation field shows how many hours between the two.

But it gives an error number (-176221) when only the clockIn field is filled.

How can I suppress that (for aesthetics mostly) until the 2nd field is filled?

thanks

Posted

Case( not Isempty( timestampfield1 ) and not isempty( timestampfield2 ) ; <calculation> )

Posted

Mostly?

Really sorry. Below your picture it says 'Mostly Harmless' and I thought that was your username ( it could happen...). I see now your name is Vaughn.

So I meant:

Vaughn, thanks...

Sorry. Cute works 50% of the time, at best.

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