I have a database of employee's names -- if they are on a certain
disciplinary level then a box called CAP is checked in the employee's
name table.
I have a form that has a combo list of employees' names so that
supervisors can check on various past disciplinary actions. There is
nothing on the form except the combo list and a command button.
In order to display the data correctly there are two different macros
that I have -- one if the person is "on CAP" (i.e., CAP = True) and
the other where the person is "not on CAP" (i.e., CAP = False)
The structure I am basically going for is:
If CAP is TRUE then
Run Macro1
If CAP is FALSE then
Run Macro2
I know this is incredibly simple but I am just having terrible trouble
with the syntax in the "On Click" procedure -- Access needs to look at
the record of the employee whose name is in the combo box -- then see
if the employee is (or is not) on CAP, and then run the appropriate
macro.
Please help! I'm a relatively new self-taught user and have been able
to get everything else to work... just not this!
Thanks