Simple sample to access database for beginner
Posted on 2002-05-12
I am a beginner in Delphi Programing, but i had experience in VB6. Can some one show me a sample of how to access the data in the database(Ms Access) by using both coding and component object.
Imagine the following situation:
'Select * from tblVehicle where VehicleNo := myVehicleNo'
Column: VehicleNo, Type, color...
Can u show me using Query and other data control?
(Actualy i m not sure how to use the Borland Delphi 6.0 Interfaces to create the database object by using drag and drog. I am not sure wheter BDE or ADO is better and easier)