Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Datetime to date
Message
De
13/09/2006 10:02:56
 
 
À
13/09/2006 09:59:05
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01153290
Message ID:
01153295
Vues:
15
Re: UPSize problem Thread #1064758
Re: Move to sql server Thread #667403 Message #667419

>In the process of converting VFP based database to SQL server.
>One problem faced is that for all date fields on screens( forms), as the dates fields (in VFP database) are now replaced by datetime in SQL, the fields are showing the time portion as well.
>Would like to know solution for following:-
>1) How to ensure all fields display only date portion of field. We also have the problem when capturing date values to our report queries, since the dates contain time, if we range the values (what used to be eg sales from 1/1/2006 to 31/1/2006 then, now we have to somehow default everything to 1/1/2006:00:00:00 to 31/1/2006:24:00:00. Any shortcut to do this?
>2) We use fields for data input, how to default the date fields instead of having null values displayed like 01/01/1900 of something like that.
>Thanks in advance
>Yau
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform