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!

Module for time difference

Status
Not open for further replies.

EBee

MIS
Aug 10, 2001
229
US
if(rs!Tx_Time) TimeDiff(rs2!TX_Time) <1 min then
debug.print line

I am trying to compare time and check if the difference between the two is less than 1 min, if so, copy the line, and if not delete the line, go to next line

erwin
 
if(DateDiff(&quot;s&quot;, rs!Tx_Time rs2!TX_Time) < 60)then
debug.print line
End If
MichaelRed
mred@att.net

There is never time to do it right but there is always time to do it over
 
Thank you, this helps to compare record and select records that only meets the criteria.

erwin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top