Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the best way to hande TIME in vfp50a?
Message
De
02/09/1997 09:19:32
 
 
À
29/08/1997 14:35:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00047460
Message ID:
00048009
Vues:
24
>>>>>I am writing a program and I need a TIME IN field and
>>>>>a TIME OUT field. I know I could use VALIDS and check
>>>>>the user entry, but I thought that vfp50 might have
>>>>>some built in stuff. Any ideas?
>>>>
>>>>Robert,
>>>>
>>>>I am just thinking off of the top of my head here...
>>>>
>>>>You could use a datetime field and then either fill the date portion with null or you could use the entire field. Your program would then have a time and date for the start of the appointment (TIME_IN) and time and date for the end of the appointment (TIME_OUT). It would be a more general solution to scheduling.
>>>>
>>>>You would then be using a field that is fundamentally of type "time" and foxpro would handle much of the error checking.
>>>>
>>>>Someone jump in here if this suggestion is totally wrong, but I pretty sure this should work.
>>>
>>>hay Evan:
>>>I tried it and if I could get rid of the date, it might work.
>>>I do not need the date, only TIME IN and TIME OUT. I am not
>>>aware of a way to substr a field. any ideas?
>>>thanks..rob
>>
>>Rob,
>>
>>You might want to check out the format statement, perhaps you can suppress the date portion using that. There must be a way. Let's just hope one of these foxpro gurus jump in.
>
>Use TIME() by itself.

hay Mo:..how do I use TIME() as a entry field?...thanks ..rob
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform