How to get dataset to populate data into dbgrid in Delphi 6?
- by Chris J
I have created a DBGrid in Delphi 6 and tied it to a DataSource contained in a DataModule. The Dataset for that source in also located in the same module. In the OnShow event for the form, I activate the dataset and set a label equal to the rowcount for the dataset. This shows several hundred rows but nothing shows in the dbgrid. If I activate the dataset in the IDE, the grid populates with the expected data. Does anyone have any idea why this behaviour would change between the IDE and normal runtime? We are also using SDAC connection components.
All 3rd party component choices are not mine to change.
I can elaborate as necessary for clarification, but I mainly need troubleshooting ideas to start at.