Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DateTime to Date - from SQL to VFP
Message
De
28/04/2005 12:38:41
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
DateTime to Date - from SQL to VFP
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01009330
Message ID:
01009330
Vues:
51
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform