C
Clif McIrvin
So far I've had no luck searching for an answer (maybe I'm just using
the wrong search terms --- but then I've noticed that my brain doesn't
always name things the way the Microsoft Help writers do <g>)
I am using a form in datasheet view to enter production data; in this
instance the item has already been entered as 'pre-production' and after
it has been produced the date produced needs to be entered.
In the Production Date _Enter event procedure I am using a call to
MsgBox to confirm the date change which leaves the mouse pointer where
the dialog box popped up. I'd sure like to bring it back to the current
control but have had no success with anything I've tried.
I sure hope someone can point me in the right direction!
A bit more description:
My idea was to automatically change the 'not yet produced' date to the
'last date entered' when the user enters the date produced field,
whether by mouse-click or keyboard action. The difficulty I ran into is
that often there are many 'not yet produced' items between any two that
were produced 'today', and if using the keyboard to walk through the
records my code would obediently change the production date for every
record it passed through.
My work-around at this point is to introduce a call to MsgBox to confirm
the date change. This works well, except that the mouse pointer is left
where the dialog box popped up instead of in the control with the focus.
the wrong search terms --- but then I've noticed that my brain doesn't
always name things the way the Microsoft Help writers do <g>)
I am using a form in datasheet view to enter production data; in this
instance the item has already been entered as 'pre-production' and after
it has been produced the date produced needs to be entered.
In the Production Date _Enter event procedure I am using a call to
MsgBox to confirm the date change which leaves the mouse pointer where
the dialog box popped up. I'd sure like to bring it back to the current
control but have had no success with anything I've tried.
I sure hope someone can point me in the right direction!
A bit more description:
My idea was to automatically change the 'not yet produced' date to the
'last date entered' when the user enters the date produced field,
whether by mouse-click or keyboard action. The difficulty I ran into is
that often there are many 'not yet produced' items between any two that
were produced 'today', and if using the keyboard to walk through the
records my code would obediently change the production date for every
record it passed through.
My work-around at this point is to introduce a call to MsgBox to confirm
the date change. This works well, except that the mouse pointer is left
where the dialog box popped up instead of in the control with the focus.