Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Where is ADO Data Control???

Hi! I already add Microsoft ActiveX Data Objects 2.5 Library in VBE using
TOOLSREFERENCES but I still cannot find the ado data control in the
toolbox..By the way I'm using Excel 2002. I hope you'll help me..
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Where is ADO Data Control???

Adding a reference gives you access to the Type Library for early binding,
essentially using ADO in code with no visible control.
If you want the control, right-click on the Controls Toolbox, select
Additional Controls and put a check mark against the desired component.

Having said that, I have always preferred the coded version to the data
control for flexibility.

NickHK

"Chinx21" . wrote in message
...
Hi! I already add Microsoft ActiveX Data Objects 2.5 Library in VBE using
TOOLSREFERENCES but I still cannot find the ado data control in the
toolbox..By the way I'm using Excel 2002. I hope you'll help me..



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Where is ADO Data Control???

what do you mean coded version? How do i start with it? Sorry. I'm just new
to ADO. thank You!

"NickHK" wrote:

Adding a reference gives you access to the Type Library for early binding,
essentially using ADO in code with no visible control.
If you want the control, right-click on the Controls Toolbox, select
Additional Controls and put a check mark against the desired component.

Having said that, I have always preferred the coded version to the data
control for flexibility.

NickHK

"Chinx21" . wrote in message
...
Hi! I already add Microsoft ActiveX Data Objects 2.5 Library in VBE using
TOOLSREFERENCES but I still cannot find the ado data control in the
toolbox..By the way I'm using Excel 2002. I hope you'll help me..




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Where is ADO Data Control???

As I said, setting a reference does NOT give the visible control to use on a
userform, but it allows you create the early-bound ADO objects. e.g.
Dim ADORS As ADODB.Recordset
'..etc

You should read up on using ADO if this means nothing to you.
http://support.microsoft.com/kb/257819

Otherwise, add the control to the Toolbox as I explained and use that
instead.

NickHK

"Chinx21" . wrote in message
...
what do you mean coded version? How do i start with it? Sorry. I'm just

new
to ADO. thank You!

"NickHK" wrote:

Adding a reference gives you access to the Type Library for early

binding,
essentially using ADO in code with no visible control.
If you want the control, right-click on the Controls Toolbox, select
Additional Controls and put a check mark against the desired component.

Having said that, I have always preferred the coded version to the data
control for flexibility.

NickHK

"Chinx21" . wrote in message
...
Hi! I already add Microsoft ActiveX Data Objects 2.5 Library in VBE

using
TOOLSREFERENCES but I still cannot find the ado data control in the
toolbox..By the way I'm using Excel 2002. I hope you'll help me..






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Where is ADO Data Control???

Thanks nick!

"NickHK" wrote:

As I said, setting a reference does NOT give the visible control to use on a
userform, but it allows you create the early-bound ADO objects. e.g.
Dim ADORS As ADODB.Recordset
'..etc

You should read up on using ADO if this means nothing to you.
http://support.microsoft.com/kb/257819

Otherwise, add the control to the Toolbox as I explained and use that
instead.

NickHK

"Chinx21" . wrote in message
...
what do you mean coded version? How do i start with it? Sorry. I'm just

new
to ADO. thank You!

"NickHK" wrote:

Adding a reference gives you access to the Type Library for early

binding,
essentially using ADO in code with no visible control.
If you want the control, right-click on the Controls Toolbox, select
Additional Controls and put a check mark against the desired component.

Having said that, I have always preferred the coded version to the data
control for flexibility.

NickHK

"Chinx21" . wrote in message
...
Hi! I already add Microsoft ActiveX Data Objects 2.5 Library in VBE

using
TOOLSREFERENCES but I still cannot find the ado data control in the
toolbox..By the way I'm using Excel 2002. I hope you'll help me..






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Grid control Kaushik Saha Excel Programming 1 November 9th 06 04:15 AM
how take data from refedit control [email protected] Excel Programming 1 August 9th 06 05:14 PM
Control Box Data Question camerons New Users to Excel 2 April 26th 05 03:33 AM
Validating data in a spreadsheet control Nuncle[_2_] Excel Programming 0 September 30th 04 08:00 AM
ADO Data Control Mandy[_2_] Excel Programming 0 May 9th 04 11:36 PM


All times are GMT +1. The time now is 06:19 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"