Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Access Oracle Database
Message
 
To
04/12/2008 02:14:51
Ed Hizon
Skswood Sdn. Bhd
Kuala Belait, Brunei
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01365439
Message ID:
01365572
Views:
23
>Drivers already been installed i tried to use this coding with foxpro and could not connect giving a value of -1:
>
>lcDSNLess="driver = {Microsoft ODBC for Oracle};server=dbserver01;database=oracledb;uid=sys;pwd=monitor"
>
>lnConnHandle=SQLSTRINGCONNECT(m.lcDSNLess)
>
>Anything wrong with the above coding.
>
>Ed

Try to create a new dsn by doing something like dsn=sqlstringconnect() and creating the dsn on the fly.
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Previous
Reply
Map
View

Click here to load this message in the networking platform