I have a Delphi 7 program that has 32 Forms that are initializes at activation. There is a Main Menu to select one of 14 individual sub-programs. When a sub-program is selected, the next Form is called by ShowModal and the Main Menu Form is closed. Several of these programs display a Member Selection Form with a DBGrid that displays over 3,000 Members of an organization. When a selection is made of a specific member, ShowModal brings up the Data Entry Form for data entry or correction and the Member Selection Form is closed. At this point there is no problem. I can close the three Forms in reverse sequence.
Most of the time I need to make entry or corrections to several members’ data. To do this I will close the Data Entry Form and then select a new member from the Member’s Selection Form and repeat the process going back and forth between the Member Selection Form and the Data Entry Form. So far no there is problem; all of my data entries are completed successfully.
The problem is when I try to close the three Forms after multiple entries. When I close the Data Entry Form the Member Selection Form is displayed. When I try to close the Member Selection, it is closed and the Data Entry Form is again displayed. I cannot close either and cannot get back to the Main Menu. I have to re-boot to close the program.
How can I solve this problem?
Most of the time I need to make entry or corrections to several members’ data. To do this I will close the Data Entry Form and then select a new member from the Member’s Selection Form and repeat the process going back and forth between the Member Selection Form and the Data Entry Form. So far no there is problem; all of my data entries are completed successfully.
The problem is when I try to close the three Forms after multiple entries. When I close the Data Entry Form the Member Selection Form is displayed. When I try to close the Member Selection, it is closed and the Data Entry Form is again displayed. I cannot close either and cannot get back to the Main Menu. I have to re-boot to close the program.
How can I solve this problem?