Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crazy behavior
Message
From
07/03/2004 17:31:51
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00883910
Message ID:
00883946
Views:
20
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.

Thanks again
Peter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform