>Well I have just dug in deeper and found where the problem exists. My program reads a start and stop time from a datetime field in a database. It then sets the THISFORM.Start and Stop Times. When I do a calculation of To and From from THISFORM, for cetain times the INT of the result is one less than a ROUND of the result. This occurs only when I operate on the THISFORM variables. When I set a datetime picker value from the database and operate on the datatime picker value the INT and ROUND are identical. Why the loop works STEP -1 and not STEP 1 is still weird. If you are interested I can send you a screen and db that shows this behavior.
>
Hi Peter,
Yes, I would like to take a look at it. Zip it up and send to email address in my signature.
--sb--