Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CALC in a query on a table to find difference between two time fields

Status
Not open for further replies.

Piper2021

Technical User
Apr 14, 2021
1
GB
Using Paradox 11 I am running a query to find the difference between two time fields. I have set two example elements using the f5 key labeling them Tp1 and Tp2. Then in another field putting "CALC Tp2 - Tp1". A key field is checked as well. Running the query produces a result with an extra field that contains the text Tp2 - Tp1 in every record for a unique value in the key field , but not the result of the time values that I was looking for. What am I doing wrong?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top