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

Recommended Posts

  • Newbies
Posted

Hi Everyone,

I am trying to make a calculation for our service database what I'm trying to do is as follows.

date machine setup 1/8/09

date machine in for service 10/8/09

= 10 days

machine was used for 16 hours, 16 divided by 10

= 1.6 hours per day

so how I'm trying to do it is as follows.

i have 3 fields

One

Used hours calc field: Hours Out - machine hours = x

used days calc field: Date out - Setup date = x

Daily Average field: ( "maintenance: 1: Average Hours" ; "maintenance: 1: Average Days" )

But it is returning -2990000 i have obviously done something really dumb, but i just don't get it.

Can anyone help?:D??

Posted

Check that the "Hours Out" and "Machine Hours" fields are number fields, and the "Used Hours" cal is set to return a number.

Check that the "Date Out" and "Setup Date" fields are date fields, and the "Used Days" calc is set to return a number.

You haven't explained what the "Daily Average field is or where the

fields for this calculation come from.

Finally, check that all the fields have valid data in them. Without valid data the calculation fields will never return the expected results.

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