Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing data type of cursor field
Message
From
29/11/2002 04:57:05
 
 
To
29/11/2002 04:46:36
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00728116
Message ID:
00728120
Views:
26
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
Previous
Reply
Map
View

Click here to load this message in the networking platform