|
-
Jun 15th, 2001, 07:45 AM
#1
Thread Starter
Member
time problem
hi friends
here me, again with another naughty problem
i have 2 maskedit controls
1) for from time
2) for to time
and the mask is '99:99 A' and format is 'hh:mm AM/PM'.
please tell me how to validate these controls to get
the valid times. and also to check the time difference
between these. i want the user to enter 'from time' lesser
than 'to time'
coding please?
and thanks for all those who gave me idea and coding to get valid leap year and date.
especially for nucleus
-
Jun 15th, 2001, 08:16 AM
#2
Registered User
1. In the validate event of each masked edit box use the isdate() function to validate the time.
i want the user to enter 'from time' lesser
than 'to time'
2.You need to have a button on the form where a user click's submit. In the click event of this button you can do record level validation to check if from time is lesser than to time, before committing to the db.
and thanks for all those who gave me idea and coding to get valid leap year and date.
especially for nucleus
Nice to be remembered
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|