Hi guys...thanks for that. It looks really clean.
Just a question however. Where do I put this code? Do I create a new function, private sub or do I place it in one of the field actions (ie On Exit)..
Hi guys. Thank you all for your input. I've managed to solve my problem using Andy's solution using the Exit field rather than change field parameter.
It works a treat.
thanks again.
Joseph
Hello again.
I managed to get it to work by putting the call OKToInsert in the On Exit part of each field.
Thank you for your help..I'm learning something new every day.
Joe
Sorry for the confusion.
I just realised that if I leave a field blank it will disable the button (fantastic).
However, if I go back and enter a value in the blank field the NEW_RECORD button is still disabled (ie it doesn't re-enable once I populate the fields).
Joe
Hi Andy
I tried it, but it didn't work (had me excited there for a while).
I have the TAB order so that the user goes through each of the fields in a logical order.
I thought perhaps the problem was due to tabbing into a field and then tabbing out without putting anything in there, so I tried...
Hi there
I'm pretty new to VBA, and I'm trying to wade my way through some complicated stuff (to me it is) to try and get a form to do what I want.
I have created a Quality Database to record evaluations of phone calls (for a call centre). To enter each evaluation, I have a form with 19...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.