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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

resetting a variable

Status
Not open for further replies.

osman1156

Programmer
Sep 8, 2006
11
0
0
CA
On my detail line I have a date time field in a detail line, I need to calculate the difference between that value and the next value for that group. I need the first detail line formula to start with 0.00 the second have the difference and one the group is done, it reset that variable to 0.00 again.

I crated a formula that calculate the date and time difference and at the beggining of the group a formula to set it to zero but it seems its not working for me here is what i have to reset it
Global numberVar DateDiffInHours := 0;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top