Information générale
Catégorie:
Codage, syntaxe et commandes
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement