I have a form with DBConnection, SQLTransaction, SQL Query, DataSource, DBGrid and 5 DBEdit components.
I can extract and display a database table with 5 fields onto the DBGrid.
Questions
1. How do I linkup the DBGrid with DBEdit such that
- when I scroll down each record in the DBGrid, the 5 DBEdit data will change accordingly.
- if I make any change in the DBEdit, the change will reflect in the DBGrid.
2. How do I display the individual fields of the DBGrid Dataset as I believe the Dataset is a temporary table or cursor.
I am new to Lazarus and any advice will be greatly appreciated.