Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Oracle Date to VFP DateTime
Message
 
À
05/07/2002 05:54:23
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00675529
Message ID:
00675565
Vues:
8
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform