
June 20th, 2005, 10:59 AM
|
|
Contributing User
|
|
Join Date: Dec 2004
Posts: 104

Time spent in forums: 22 h 8 m 10 sec
Reputation Power: 4
|
|
|
New to Delphi, and I have a question...
Using Delphi 5, and I don't understand how the data objects tie in to each other, a quick run and simple explaination would help a ton.
I just want to run a simple query on a 3 column table and display the results in a form.
What I've put on my form are the following objects:
DBGrid
ADO Connection
ADO Query
DataSource
I just need to know how the object properties of these objects tie together to get me my data in the DBGrid.
So far, I have the connection string in ADO Connection, and I have the query string in ADO Query, The problem I'm having is tying in the other two objects so I can actually display my results.
(I also have to modify the query based on text entered in a field, but I can figure that one out).
|