B
Bill Mitchell
Hi,
I want to create a field on my continuous forms that will
show me that a row is selected without using the Access
Record Selectors. I know I can do this with the Row
Color thing, but I would rather just use a checkbox.
My idea is to create a bound field called ContactSelector
which switched to -1 when the current record has the
focus and back to 0 when the current record loses the
focus.
I thought this would be easy (silly me), if i set
the .gotfocus property of my form to change the value to -
1 and .lostfocus to change the value to 0.
However, this does absolutely nothing. As a matter of
fact, I find that .gotfocus or .lostfocus does nothing
when applied to a form at all.
Is there some way to do this? Why doesn't .gotfocus
and .lostfocus work? Is there some way to do it in my
OnCurrent property?
Ugh, stuff like this makes me crazy. It's so simple but
will probably require 3 pages of code to make it work,
lol.
I want to create a field on my continuous forms that will
show me that a row is selected without using the Access
Record Selectors. I know I can do this with the Row
Color thing, but I would rather just use a checkbox.
My idea is to create a bound field called ContactSelector
which switched to -1 when the current record has the
focus and back to 0 when the current record loses the
focus.
I thought this would be easy (silly me), if i set
the .gotfocus property of my form to change the value to -
1 and .lostfocus to change the value to 0.
However, this does absolutely nothing. As a matter of
fact, I find that .gotfocus or .lostfocus does nothing
when applied to a form at all.
Is there some way to do this? Why doesn't .gotfocus
and .lostfocus work? Is there some way to do it in my
OnCurrent property?
Ugh, stuff like this makes me crazy. It's so simple but
will probably require 3 pages of code to make it work,
lol.