Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems accessing to ADOConnection Properties

Status
Not open for further replies.

nanin

Programmer
Aug 29, 2003
13
ES
I need to change some ADOConnection properties but I have a lot of problems because I don't know how to select each of the properties.

In Delphi you can change the propertis this way:

ADOConnection.Properties['Data Source'].Value := strPadNaarDatabase

I have tried changing the order, the quotes,...but nothing to do.

Any idea?

Thank you in advance.


 
the pseudocode will be like this:
props = ADOConnection.getProperties();
datasrc = Properties.Item("Data Source");
datasrc.setValue(strPadNaarDatabase);
I don't know what is the specific of BorlandC++ but you will find by yourself.
I have three samples short in thread116-689078 with using VisualC++. There are ADO, DAO, ODBC.

Ion Filipski
1c.bmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top