I'm really new in delphi 7 and trying to create database application, populate data from a table and display on a grid.
Through some resources on the web, I managed to add into the form with DBGrid, ADOConnection, ADOQuery and Datasource. In ADOConnection, use the delphi IDE to build connection string to MSSQL server and table, then wired them up. It runs successfully with the grid populated with data.
Now, I would like to make the ADOConnection connectionstring to initialize through variables (server, username, password, catalog etc) from a setting file during runtime.
Would be great to show a procedure from initialization to population of data grid in delphi 7.
Appreciate any help.