What is the procedure to access the database from Delphi?

What is the procedure to access the database from Delphi?



- To access the database the BDE needs to be configured as it defines an alias for the database that has to be connected.

- The configuration allows the avoidance of coding the directory path and it just takes the referring of the alias.

- The creation of three objects is required to access the database and that includes: Query or table object that in synchronization with the alias and it also fetches some data.

- Data source object that allows the linking between the data and the controls used to connect the database.

- Setting the active property on the table or query to TRUE will open the database and allow the accessing to be done.
Post your comment