How to check data in multiple tables on application-startup
Posted on 2004-11-21
This is what I'm trying to do:
I have multiple TADOTables on a DataModule.
During application startup I want to check some of my tables for mandatory data.
Basically (in NON-code) the loop it should follow is something like this:
For i := 0 to NumberOfTables-1 do
"Check for invalid data in TADOTable[i]";
"Open form[i] for TADOTable[i]";
"Correct/add data TADOTable[i]";
"Open Application's Mainform"
NOTE: Each table uses it's own Form.
Can anybody give me some example project on:
How to check data in multiple tables on application-startup and correct invalid data using multiple forms. And after that the mainform must be displayed.
Thanks for your help,