I have the following question in using the dialog box.
First, let me describ the porblem I faced now.
1.) My project needs to open different database which may contain different number of fields.
2.) After opening a database, if I want to edit the record in the database, a dialog box will be popped-up to let me to change the data of the record.
The problem I faced is how can I create a dialog with suitable number of edit boxes in the dialog.
ie. if the database has 5 fields, there will be 5 edit boxes to display the data. or if the database had 7 fields, there will be 7 edit boxes in the dialog.
Could anyone give me advice?
I know I need to create a dialog in runtime, but how can I do this and get data from this created dialog???
Thank you very much!!!