Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DateTime to Date - from SQL to VFP
Message
From
28/04/2005 12:38:41
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
DateTime to Date - from SQL to VFP
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01009330
Message ID:
01009330
Views:
52
I want to convert DateTime format of SQL Server to only Date in Vfp.
I know i can use CONVERT() in SELECT statement but i want to control i with FORMAT or INPUTMASK.
I m using SQL Pass Through to bring down data.
-----------
After Connecting to SQL Server. save handle to => hConn
=SQLEXEC(hConn, 'Select * from invoice', 'inv')
after setting updatable all fields of INV cursor.
*
thisform.text1.controlsource = 'inv.inv_date'
thisform.text1.format = 'E'
------------
I have tried thisform.text1.value = {} before setting control source to inv.inv_date but it didnot work.

Looking for you expert suggestions.

Thnx in Advance
Next
Reply
Map
View

Click here to load this message in the networking platform