Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DateTime Field
Message
De
08/06/1999 21:29:30
 
 
À
08/06/1999 17:10:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00227675
Message ID:
00227755
Vues:
23
>Thanks for quick reply. I am sorry but I don't think I have understood your answer properly.
>Could u please explain it again.
>
>Thanks
>Mark

Add some coding to disallow user to enter non proper time!

Method 1:
Use Combox / ListBox for Time part and Default it to 9.00 am etc.

Method 2:
At LostFocus() or Valid() Prompt user to enter the time or Assign the
default time to it!

e.g.
* txtintime.lostfocus()  && Carry Staff In System Time.. etc.
if this.value - Date(this.value) = 0 && Mean mid-night
   Replace StaffInOut.InTime with this.value + Time(DateTime())
endif
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform