G
Guest
Table with fields USERNAME and CATEGORY. The same USERNAME may appear more
than once if it belongs to more than one category.
e.g.,
Bob, user
Bob, supervisor
Sue, user
Fred, user
Switchboard form has buttons (user, supervisor).
If Bob is the USERNAME, both the command buttons User and Supervisor should
be enabled. If Fred is the USERNAME, only the USer button is enabled.
I tried DLookup, but the function only looks at the first record (e.g., if
Bob is the USERNAME, only the category User is enabled). I want all buttons
for Bob to be enabled.
than once if it belongs to more than one category.
e.g.,
Bob, user
Bob, supervisor
Sue, user
Fred, user
Switchboard form has buttons (user, supervisor).
If Bob is the USERNAME, both the command buttons User and Supervisor should
be enabled. If Fred is the USERNAME, only the USer button is enabled.
I tried DLookup, but the function only looks at the first record (e.g., if
Bob is the USERNAME, only the category User is enabled). I want all buttons
for Bob to be enabled.