I want to force the data input to be done in a specific order(the forms tab order)
I suppose the simplest way would to prevent the mouse from interacting with form completely. and force the data in-putter to rely solely on the Keyboard. (a few googles revealed no clues as to how this might be achieved)
I could do an after update event for each control which sets all subsequent controls in the tab order to Null
but i dont want the data in-putter to miss control one and enter a dozen more fields Only to be told that he cant save the record because control 1 is required and he missed control One and then when he enters control one on the form all the subsequent fields require re-entry. It would annoy the hell out of the data in-putter.
So logically i'm thinking as well as writing the afore mentioned Afterupdate event event for each control I would have to write some sort of before update event for each control which checks that all previous controls in the tab order contain a valid entry.
But now were talking about doing quite a bit of code (which I'm not averse to if needs must), but my gut tells me that less code is better code.
Is this not a reasonably common Issue of sorts?
perhaps I cant find the answer cos Im still very green with access and VBA
all sugesstions help or advice much appreciated
I suppose the simplest way would to prevent the mouse from interacting with form completely. and force the data in-putter to rely solely on the Keyboard. (a few googles revealed no clues as to how this might be achieved)
I could do an after update event for each control which sets all subsequent controls in the tab order to Null
but i dont want the data in-putter to miss control one and enter a dozen more fields Only to be told that he cant save the record because control 1 is required and he missed control One and then when he enters control one on the form all the subsequent fields require re-entry. It would annoy the hell out of the data in-putter.
So logically i'm thinking as well as writing the afore mentioned Afterupdate event event for each control I would have to write some sort of before update event for each control which checks that all previous controls in the tab order contain a valid entry.
But now were talking about doing quite a bit of code (which I'm not averse to if needs must), but my gut tells me that less code is better code.
Is this not a reasonably common Issue of sorts?
perhaps I cant find the answer cos Im still very green with access and VBA
all sugesstions help or advice much appreciated