Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Oracle Date to VFP DateTime
Message
 
To
05/07/2002 05:54:23
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00675529
Message ID:
00675565
Views:
9
Thanks Cetin,

I am not using RV but using SPT.

MyConn=SQLCONNECT('ConnectDSN',"UN","PASS")
SQLEXEC(MyConn,"Select FinFromDate,FinToDate from FinYear","CurFinYear")

Both the fields FinFromDate,FinToDate are of Date Datatype in Oracle returning me a Time Datatype in VFP 7.0.

As u suggested :
DBSETPROP("CurFinYear.FinFromDate","FIELD","DATATYPE",'D')

Gives the following error:
Function argument value, type, or count is invalid (Error 11)

Any further suggestion.

Regards,

Aashish




>>Dear Friends,
>>
>>
>>While taking a Date Datatype value from Back-End(Oracle) to Front-End (VFP 7.0)
>>It convert the Date OF Oracle To VFP DateTime DataType.
>>
>>Any way by which i can get only date Datatype in Front-end.
>>
>>Thanks
>>
>>Aashish
>
>You can change datatype either in RV properties or using dbsetprop()
>DBSETPROP('myview.myfield', 'field', 'DataType', 'D')
>Cetin
--
--
Aashish Sharma
Tele Nos: +1-201-490-5405
Mobile: +91-9821053938
E-Mail:
aashish@aashishsharma.com
write2aashish@gmail.com

You better believe in yourself... if you don't, who else will ?
TODAY is a gift, that's why it's called PRESENT
Previous
Reply
Map
View

Click here to load this message in the networking platform