mbarkley9872
Technical User
I have alot of fields that capture time - flight hours, engine on-wing hours, time since overhaul, etc.
They are formatted like hh:mm but the hour part is often 3-5 digits. I.e, 23756:21
I need to use this data to perform many types of calculations - utilization rates, sums, etc.
The data is imported once monthly and appended to the appropriate table. I'm thinking I should go ahead and create extra fields and convert the times to numbers once during the append. Then I'll have the data readily formatted for the zillions of queries that will use these times. Is this a bad idea?
And, could someone help me with the expression to convert it to a number. I've been attempting to figure this out on my own, but I'm having trouble trimming off the ":". This...
... gives me the hours but still has the ":"
113:27 ends up as 113:
Thanks for any help!
Mike
They are formatted like hh:mm but the hour part is often 3-5 digits. I.e, 23756:21
I need to use this data to perform many types of calculations - utilization rates, sums, etc.
The data is imported once monthly and appended to the appropriate table. I'm thinking I should go ahead and create extra fields and convert the times to numbers once during the append. Then I'll have the data readily formatted for the zillions of queries that will use these times. Is this a bad idea?
And, could someone help me with the expression to convert it to a number. I've been attempting to figure this out on my own, but I'm having trouble trimming off the ":". This...
Code:
FltHrs_D: Left(UTILDWN!FltHrs,InStr(UTILDWN!FltHrs,":"))
... gives me the hours but still has the ":"
113:27 ends up as 113:
Thanks for any help!
Mike