Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine CA DataSource by Alias Name
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
01658234
Message ID:
01658264
Views:
32
>>I am pretty sure that what I am trying to figure out is not possible. But just in case, here is the question.
>>
>>Cursor Adapter is used with SQL Server DB to connect and update a table. The known is the value of the Name assigned to the CA adapter cursor (e.g. "C_TableName").
>>I am trying to figure out a way to determine the CA Datasource (SQL Handle) used when this CA object for this cursor is created. And the only thing known is the Name of the alias.
>
>
>loCA=CURSORGETPROP("ADORecordset", "alias" ) 
>
>
>
>MartinaJ

Thank you. But my CA is using ODBC data source, not ADODB.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform