Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connection Handle on a DBC
Message
From
02/08/2001 10:10:59
Guy Pardoe
Pardoe Development Corporation
Peterborough, New Hampshire, United States
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00538771
Message ID:
00538803
Views:
11
Hi Matt,

You could connect to the back end, open a small view, and get this connection number with something like this:
**	Since this is our first open connection, let's grab
**	the connection handle.
oApp.ConnectNumber = CursorGetProp('ConnectHandle', ALIAS())
Guy



>Hi all,
>
>I have a DBC with a Named connection to an Oracle Database 'myconnection'. I want to be able to use a SQLEXEC to pull data for a small lookup. Is there a way to determine the connection handle of the Named connection in the DBC so that I don't have to establish another connection using SQLCONNECT?
Previous
Reply
Map
View

Click here to load this message in the networking platform