Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datetime to date
Message
From
13/09/2006 10:02:56
 
 
To
13/09/2006 09:59:05
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaysia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01153290
Message ID:
01153295
Views:
14
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"
Previous
Reply
Map
View

Click here to load this message in the networking platform