P
pcPirate
Okay,
I've have a mdiparentform and only one mdichild form.
My parent form has a toolbar with only one button "Open Record". When a user
click on the button, a child form would be shown.
My child form retrieve a set of value from the MSSQL2K database and displays
them in textboxes. And the users are able to change the value and save them
(by clicking a save button) back to the database.
The problem is this. when the user click the "Open Record" toolbar button 2
times, there would be 2 child form come out (which is good). However, when
the user amend both details in the both child forms, the values are saved
correctly in second child form but not the first child form. This really
make me headache. I use a lot of static variable in the coding of making the
child form. Is this the problem or others?
Pls. advice.
pcPirate
I've have a mdiparentform and only one mdichild form.
My parent form has a toolbar with only one button "Open Record". When a user
click on the button, a child form would be shown.
My child form retrieve a set of value from the MSSQL2K database and displays
them in textboxes. And the users are able to change the value and save them
(by clicking a save button) back to the database.
The problem is this. when the user click the "Open Record" toolbar button 2
times, there would be 2 child form come out (which is good). However, when
the user amend both details in the both child forms, the values are saved
correctly in second child form but not the first child form. This really
make me headache. I use a lot of static variable in the coding of making the
child form. Is this the problem or others?
Pls. advice.
pcPirate