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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Binding controls

Status
Not open for further replies.

LordOfCode

Programmer
Feb 26, 2000
66
US
I've working the past two years with Visual FoxPro, now I'm learning Visual Basic.

I've been using ADO in an aplication I'm buiding. I created a dataenvironment and an initial conection.

In the Login form I ask user for his user name and password and open the ADO connection with that information.

Now I want to create a form to access and modify some data in the database. I try to create a DataCombo and DataList.
I realized they requiere a Data Control so I added a Microsoft ADO Data Control (Adodc) to my form.

The problem is that the Adodc control requieres data to make a completely new connection, I can use a connect string or ODBC as far as I can see. However what I want to do is to use the same connection I set at the begining of the application when the user logged in.

Any advice might be helpful. Thanks in advance!
Edwin Dalorzo
edalorzo@hotmail.com

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top