Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing data type of cursor field
Message
De
29/11/2002 04:57:05
 
 
À
29/11/2002 04:46:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00728116
Message ID:
00728120
Vues:
27
Hello,

no .. not until VFP8 ... there you can do it in the cursoradapter class .. just setting CursorSchema should be sufficent

in older version you can do it also but not with SQL Pass Through .. only in Remote Views ->
DBSETPROP('yourView.yourDateTime','Field','DATATYPE','D')

if you have to stick with SQL Pass Through the only option i see left is
CONVERT()ing (MS-SQL) or accordingly TO_CHAR()ing (Oracle) in the SQL statement to character type with appropiate date formatting so it displays correct ..

Regards

Christian
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform