xollef
Technical User
- Apr 23, 2002
- 30
Hello
I have a form and on it some buttons and button, the form button is disabled.
Because I have a textbox where you should fill in a value and then save that value before you can open the form. So when pressing the save button it saves the value and then enables the form button.
But then when opening the same record again where the value is allready filled in you anyway have to press save before you can open the form.
So how can I make the form button enabled if there is already text in the required field?
Should I use the on open event on the form to have an if code that checkes if there is text, if there is text it will enable the button and if not you will have to type text in it, press save to enable it.
If that is the case then how should the if function look like. I can't VB that vell
Could someone tell me if I am going the right direction and then maybe supply the if statement?
Thanks
I have a form and on it some buttons and button, the form button is disabled.
Because I have a textbox where you should fill in a value and then save that value before you can open the form. So when pressing the save button it saves the value and then enables the form button.
But then when opening the same record again where the value is allready filled in you anyway have to press save before you can open the form.
So how can I make the form button enabled if there is already text in the required field?
Should I use the on open event on the form to have an if code that checkes if there is text, if there is text it will enable the button and if not you will have to type text in it, press save to enable it.
If that is the case then how should the if function look like. I can't VB that vell
Could someone tell me if I am going the right direction and then maybe supply the if statement?
Thanks