New to Delphi - Connecting to database using just code
- From: TD <dlee@xxxxxxxxxxx>
- Date: Wed, 26 Mar 2008 20:45:09 -0700 (PDT)
I am an MS Access programmer trying to move to Delphi. In VBA I can
do the following:
1 - Create connection to database, usually using DAO.
2 - Create a recordset using a select query to return a single record.
3 - Loop throught the fields of the record, assigning the values to
the corresponding fields on the form.
4 - Delete the recordset
5- Close connection to the database
Can I do the same thing in Delphi without using any of the database
components? I know you use VCL components to work with a databases in
Delphi but do not these load the entire contents of a table into
memory, causing the application to run slow, say over a VPN connection?
.
- Follow-Ups:
- Re: New to Delphi - Connecting to database using just code
- From: Maarten Wiltink
- Re: New to Delphi - Connecting to database using just code
- Prev by Date: Middle pointer for double linked list.
- Next by Date: Re: D2006 Object inspector component
- Previous by thread: Middle pointer for double linked list.
- Next by thread: Re: New to Delphi - Connecting to database using just code
- Index(es):
Relevant Pages
|