G
Guest
I have a form with 2 date fields on it at the end. I have linked these fields
up to the ActiveX control calendar to populate the field. This means that
the normal verify property doesn’t work. Instead I put in a piece of code in
the Lostfocus property to put up a message box then set focus back on the
field.
Unfortunately the setfocus is ignored for some reason and since the field is
the last one on the form once you close the message box it just jumps to the
next record.
Anybody got any ideas how I can fix this?
up to the ActiveX control calendar to populate the field. This means that
the normal verify property doesn’t work. Instead I put in a piece of code in
the Lostfocus property to put up a message box then set focus back on the
field.
Unfortunately the setfocus is ignored for some reason and since the field is
the last one on the form once you close the message box it just jumps to the
next record.
Anybody got any ideas how I can fix this?