Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC connection to Oracle
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00707782
Message ID:
00708500
Views:
8
Go to http://www.mctweedle.com and click the FoxPro Tools link. There you can get my ODBC DSN Class [free] and my VFP/Oracle white paper.

Otherwise, you can create a connection with:

lnHandle = sqlstringconnect('Driver=Microsoft ODBC for Oracle;UID=ggldev;PWD=gglpass;Server=ggserv;')

However, any remote views you have will not be able to use this connection.
To do that AND use the same SHARED connection from a view for SPT:
lcConnString = 'Driver=Microsoft ODBC for Oracle;' ;
    + 'UID=ggldev;PWD=gglpass;Server=ggserv;'

USE SOME_DUMMY_VIEW_TO_ORACLE ;
    CONNSTRING lcCOnnString

goApp.nOracleHandle = CURSORGETPROP("ConnectHandle", SOME_DUMMY_VIEW_TO_ORACLE)
The above code is for VFP7 and beyond.the CONNSTRING clause was not available prior to version 7.

>I am planning to connect to the Oracle database from visual foxpro application.
>
>Can somebody help me how to connect to oracle datbase.
>
>username: ggldev
>password: gglpass
>domain: ggserv
>
>Thank you very much,
>
>Rajender
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform