Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DateTime Field
Message
From
08/06/1999 21:29:30
 
 
To
08/06/1999 17:10:23
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00227675
Message ID:
00227755
Views:
24
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform