AndreAraujo
Programmer
Hello,
I'm some problems with a form and Sub-Form.
I have a sub form that gives me the status of a line of process(one process can have several lines), Open , Cancel, reactivate, Terminated, and other informations about that process, in the min form i have a text box that do the reading of the process and line i want to control.
In the main form i have several buttons so i can change the status of the process, my problem is when i change the status os the process the data in the subform is updated and then i run a function that enables/disables the buttons.
The problem is that the buttons dont Enable/Disable , i used the me.requery command, the repaint, any ideas how to refresh the form . Currently i'm closing and reopening the data base but that is not a very good solution.
Thanks in advance,
André
I'm some problems with a form and Sub-Form.
I have a sub form that gives me the status of a line of process(one process can have several lines), Open , Cancel, reactivate, Terminated, and other informations about that process, in the min form i have a text box that do the reading of the process and line i want to control.
In the main form i have several buttons so i can change the status of the process, my problem is when i change the status os the process the data in the subform is updated and then i run a function that enables/disables the buttons.
The problem is that the buttons dont Enable/Disable , i used the me.requery command, the repaint, any ideas how to refresh the form . Currently i'm closing and reopening the data base but that is not a very good solution.
Thanks in advance,
André