B
Bill Mitchell
Hi,
I need some code that will perform an action when leaving
one record on a continuous form and going to another.
I know how to us the OnCurrent method to make something
happen on the record I am moving to, but how do I make
something happen on the record I am leaving?
For instance, if I have a checkbox called "RecordFocus"
and I want that box to be checked when a record has the
focus and uncheck when the record loses the focus, how
would I do that? "RecordFocus" is linked to a field on
the underlying table so it doesnt take on the same value
for all records.
I've tried using GotFocus et al on the form itself, but I
don't think that works in Access.
Any hep out there? Much appreciated.
P.S., Why would I want to do this? I hate the little
Access Record Selector arrows. They are too big and make
my forms look messy when i have multiple subforms
showing. I want to get rid of those, but still show
which record has the focus on a continuous form.
Thanks.
I need some code that will perform an action when leaving
one record on a continuous form and going to another.
I know how to us the OnCurrent method to make something
happen on the record I am moving to, but how do I make
something happen on the record I am leaving?
For instance, if I have a checkbox called "RecordFocus"
and I want that box to be checked when a record has the
focus and uncheck when the record loses the focus, how
would I do that? "RecordFocus" is linked to a field on
the underlying table so it doesnt take on the same value
for all records.
I've tried using GotFocus et al on the form itself, but I
don't think that works in Access.
Any hep out there? Much appreciated.
P.S., Why would I want to do this? I hate the little
Access Record Selector arrows. They are too big and make
my forms look messy when i have multiple subforms
showing. I want to get rid of those, but still show
which record has the focus on a continuous form.
Thanks.