Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SmallDateTime in MSSQL to Date in VFP
Message
 
 
To
23/10/2003 18:44:45
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00841887
Message ID:
00841896
Views:
31
>>How do you make a field/column retrieved from SQL server where it is type SmallDateTime to just Date in VFP? The cursor is retrieved using SPT.
>>
>>I tried the following:
>>
>>
>>DBSetProp("v_invoice.invoice_date","Field","DataType","D")
>>
>>
>>But it has not effect.
>>
>>TIA.
>
>Seems to work fine to me.
>Did you just Requery() the view, or did you close it and USE it again? I find myself doing that sometimes.

I didn't Requery the view since this is not exactly a view but a cursor retrieved from SQL server using SQLEXEC().
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform