Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DSNLESS Connection to Oracle
Message
From
01/11/2000 09:07:34
 
 
To
01/11/2000 08:08:13
Robert Byrd
National Association of Homebuilders
Washington, District of Columbia, United States
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00436622
Message ID:
00436635
Views:
14
Try this where the server is the proper entry in your tnsnames.ora file and you have the correct user name and password. I am using the M$ ODBC driver
for Oracle.

lcconstring = "driver={Microsoft ODBC for Oracle};server=tnsentry;uid=userid;pwd=password;"

lnHandle = SQLStringConnect(lcconstring)

IF lnHandle > 0
lnSQLExecVal = SQLEXEC(lnHandle, "SELECT sysdate FROM dual", 'cursorname')
ELSE
MessageBox('Connection Problem')
ENDIF


>I want to make a DSNLESS connection to an Oracle database.
>
>What is the complete syntax for doing this? Is there an Oracle driver?
>
>Thanks. Bob
Previous
Reply
Map
View

Click here to load this message in the networking platform