Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control to enter duration
Message
 
 
À
29/05/2007 12:52:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01228473
Message ID:
01229158
Vues:
16
>If your store hhmm and you know it, then the minutes become int(hhmm/100) * 60 + mod(hhmm,100)
>[ or use a view ]
>
>You can convert it to minutes - by the control or by the record rule. You could then have another control to display the minutes in hh:mm by simply change the controlsource
>[ or use a view ]
>
>>
>>Anyway, for now I put the problem aside and working on something else right now. It's also a good idea to go out and take some lunch...
>
>Keep me posted after you have found the other classes

Hi Gregory,

Ok, I think for this form txtTime class with my minor modifications to save data as an integer field in minutes would work. I actually already implemented it. The spinner class as is didn't work.

It is very similar to what you proposed, so thanks again.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform