I am trying to perform a Function when ever someone clicks_on or tabs to a text box
So I set the following on the event Tab
On Got Focus = Calendarfor([txtDOB])
on Click = Calendarfor([txtDOB])
The tab part works great but if the user click on the text box first then it calls the function twice
I know the reason is that if the user clicks the text box first access it saying that
Got Focus and Click events are triggered thus it runs the function twice.
How can I prevent the function from executing twice when a user clicks on the text box first??
Newbie in search of knowledge
So I set the following on the event Tab
On Got Focus = Calendarfor([txtDOB])
on Click = Calendarfor([txtDOB])
The tab part works great but if the user click on the text box first then it calls the function twice
I know the reason is that if the user clicks the text box first access it saying that
Got Focus and Click events are triggered thus it runs the function twice.
How can I prevent the function from executing twice when a user clicks on the text box first??
Newbie in search of knowledge