Solved

ADO

Posted on 2003-11-11
6
743 Views
Last Modified: 2013-11-23
Is ADO a completly new language? Is there much to it?
0
Comment
Question by:AphexT
6 Comments
 
LVL 44

Accepted Solution

by:
Arthur_Wood earned 20 total points
ID: 9726908
ADO is not a Language, it is an acronym for ActiveX Data Objects, and is the latest Microsoft data access technology.  It is used in developing powerful database programs using Visual Basic, VBA, the .NET languages, and others.  It is a very flexible and powerful set of COM objects which make it easier to interact with almost any data source.

AW
0
 

Expert Comment

by:vbtiger
ID: 9728937
It is basically used to connect a front end (eg VB application) to the backend (eg oracle).  It is the means of communication between the client and the server.
0
 
LVL 9

Expert Comment

by:bhagyesht
ID: 9729050
it allows communication between the database and the applicatiosn build from microsoft products like vb, vc, or vba
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Expert Comment

by:N_K_venkat
ID: 9729730
It is not a language.it is a com which uses to connect the database.if u want to get more details u can refer this site
http://www.w3schools.com/ado/ado_intro.asp
0
 

Expert Comment

by:myfalcon
ID: 12384248
I am currently writing a test script in Visual Basic that performs a simple
query and then displays the data via the debug.write command.  No matter what
I try I can only get the script to retrieve the first column of my query.  I
have reviewed the ODBC trace file and can tell that vb is connecting to the
data source and executing the query.  The problem seems to be that vb is not
doing a SQLBindCol followed by SQLFetch but is doing SQLGetData instead.
This would work correctly but vb seems to only be asking for SQLGetData for
column 1 each time.  I am including my script incase it is something I am
doing wrong.  Has anyone ever had this problem before?

Private Sub Command1_Click()
Dim adoConnection As ADODB.Connection

Dim adoRecordset As ADODB.Recordset

Dim connectString As String

Dim avarRecords As Variant

Dim intRecord As Integer

'—Create a new connection --

Set adoConnection = New ADODB.Connection

'—Create a new recordset --

Set adoRecordset = New ADODB.Recordset

adoRecordset.CursorType = adOpenStatic
adoRecordset.CursorLocation = adUseClient

'—Build our connection string to use when we open the connection --

connectString = "DSN=sc_report_odbc;UID=falcon;PWD=x"

adoConnection.Open connectString

Set adoRecordset = adoConnection.Execute("SELECT
number,contact.name,category,subcategory FROM probsummarym1")

Debug.Print "Probsummary Records"

Do While Not adoRecordset.EOF
  Debug.Print vbTab & adoRecordset(0) & vbTab & adoRecordset(1) & vbTab & _
              adoRecordset(2) & vbTab & adoRecordset(3)
  adoRecordset.MoveNext
Loop

End Sub
0
 
LVL 44

Expert Comment

by:Arthur_Wood
ID: 12384900
myfalcon>> it is considered to be VERY VERY rude to attempt to ask your own question as a 'sort of' response to someone else's.  If you have a question about the use of ADO, then post you own question, with your own pointrs, and MANY more experts will be know that it is here, and you will quite quickly get your answer.

AW
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

685 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