Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DateTime Field
Message
 
À
08/06/1999 16:44:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00227675
Message ID:
00228110
Vues:
16
I guess the question would be why does the user enter the time?

You could default the time field to the system time when the form opens or in your code set the time. If this field is only for tracking reasons the user should not even need to see it.

Ron


>I have an requirement where I need to record date and time of
>particular event. I could simply put datetime field for this.
>But datetime field is having problem that if user does not enter
>time than vfp automatically updates it with midnight time.
>In my case, it is very often that user do not enter time.
>
>So, i have to split datetime between date type and character type.
>I will be storing time in character field. But i know that if we
>store time in character field then there are some validations require like >hour should be withing range etc .
Ronald L. Thorp
http://www.Fox-Pros.com
Fox-Pros, Inc.
Office 407-498-0100
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform