M
Michelle F
This is a general question by a relative newbie to VBA. I have a form that
contains (among other things) optional areas for entering vote and comment
information. I have created a checkbox for each that, when selected, enables
the boxes for entering the information I have successfully coded the form to
open with the requisite areas disabled and have coded it such that, when the
checkbox is selected, the areas enable and vice versa.
The problem is that the form applies the settings (enabled/disabled) to ALL
the records, not just the one that is open. So, for Record A I want to
enable the vote feature, so I click the box, enter my info, and move on to
Record B. But then Record B the feature is ENABLED when it should be
DISABLED because I have not checked the box! If I check the vote box and
then uncheck it again for Record B, the field is disabled, but then it is
also disabled for Record A!
I originally created the checkboxs (and stored values) to combat this,
thinking that if I referenced a stored value for the specific record
(checked/unchecked) it would only apply the enabled/disabled for that record.
No such luck!
As a newbie, I would appreciate descriptive answers as I don't quite
understand issues like "SetFocus" but think that it may have something to do
with this.
Thanks a mil!
Michelle
contains (among other things) optional areas for entering vote and comment
information. I have created a checkbox for each that, when selected, enables
the boxes for entering the information I have successfully coded the form to
open with the requisite areas disabled and have coded it such that, when the
checkbox is selected, the areas enable and vice versa.
The problem is that the form applies the settings (enabled/disabled) to ALL
the records, not just the one that is open. So, for Record A I want to
enable the vote feature, so I click the box, enter my info, and move on to
Record B. But then Record B the feature is ENABLED when it should be
DISABLED because I have not checked the box! If I check the vote box and
then uncheck it again for Record B, the field is disabled, but then it is
also disabled for Record A!
I originally created the checkboxs (and stored values) to combat this,
thinking that if I referenced a stored value for the specific record
(checked/unchecked) it would only apply the enabled/disabled for that record.
No such luck!
As a newbie, I would appreciate descriptive answers as I don't quite
understand issues like "SetFocus" but think that it may have something to do
with this.
Thanks a mil!
Michelle