Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connections
Message
From
26/01/2000 15:45:44
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00314557
Message ID:
00323132
Views:
22
Hi Ricardo:

Unfortunately I don't have an answer to your question but you raised one for me that I'm having a difficult time with. I am trying to get data back from a single table in VFP to Access via ODBC. All data (char, n, etc.) gets back fine but if I try to get a date back along with the other data everything blows up.

I've tried:

lddate="{d '2000-10-10'}", or
lddate="#10/10/2000#" or
lddate=dtoc(date())
lddate={^2000-01-01} etc., then

gnerror=sqlexec(sqlhandle, "insert into transactiontable (date)
values (?lddate)")

No matter how I try to format lddate it won't get back (gnerror = -1). If you have any ideas I'd be grateful.

Rob
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform