TheWizard78
Programmer
Hi group,
I have a little problem. I have a form with 10 buttons + a timer on it. When I try to click on a button during the execution of the timer, I have so many weird things that appens to me. In the button1.click coding, I select table1 to do something. In the timer1.timer coding, I select table2 to do other things + some refresh. These 2 tables does not have the same column name. So I receive many errors messages, because during the time I select a table and then try to use it to replace or everything else, the timer change my default selected table.
I would like to be able to wait until the end of the timer event before running my code in the button1.click.
If there's a way to do it, please tell me how, you will save me a lot of works and search.
p.s. the form with 10 buttons + 1 timer is just an example, the real one is very more complexe than that.
Thanks
The Wizard
I have a little problem. I have a form with 10 buttons + a timer on it. When I try to click on a button during the execution of the timer, I have so many weird things that appens to me. In the button1.click coding, I select table1 to do something. In the timer1.timer coding, I select table2 to do other things + some refresh. These 2 tables does not have the same column name. So I receive many errors messages, because during the time I select a table and then try to use it to replace or everything else, the timer change my default selected table.
I would like to be able to wait until the end of the timer event before running my code in the button1.click.
If there's a way to do it, please tell me how, you will save me a lot of works and search.
p.s. the form with 10 buttons + 1 timer is just an example, the real one is very more complexe than that.
Thanks
The Wizard