Solved

Placing ADO Control on a form

Posted on 2003-11-18
5
307 Views
Last Modified: 2013-11-23
How can I place three ADO Controls on a form?
0
Comment
Question by:pibka
5 Comments
 
LVL 7

Expert Comment

by:_agj_
ID: 9777254
cant u jus select the ado control from the toobox place it on the form n continue 3 times?
0
 
LVL 9

Expert Comment

by:TooKoolKris
ID: 9779083
He may not have the components installed to have the data controls in his tool box.
0
 
LVL 29

Expert Comment

by:leonstryker
ID: 9779705
pibka,

I would suggest you do not use ADO controls, but rather use ADO to establish your connection(s) and use the recordset and command objects to retrieve data and execute your SQL code.

Leon
0
 
LVL 1

Accepted Solution

by:
fsaims earned 125 total points
ID: 9780862
If u r using VB6, right click on controls toolbar and select 'components' from popup menu, components list will be appear. checkmark Microsoft ActiveX Data Control, and then click OK button. ADO control will appear on controls toolbars. Click on it and draw on form. Do it for as many times as u need controls.
0
 
LVL 9

Expert Comment

by:TooKoolKris
ID: 9781154
Thanks fsaims, I wasn't sitting in front of the IDE and couldn't remember where to tell him to go to install the component.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Saving history changes to sub form 4 36
Error when passing an argument to a vb6 that contains  '/' 7 31
MsgBox 4 47
fso.FolderExists("\\server\HiddenFolder$") 4 51
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now