GoodLife22
Registered User.
- Local time
- Today, 02:45
- Joined
- Mar 4, 2010
- Messages
- 86
I have a form called "frm_CLIENTS" tied directly to a table with about 40 checkboxes and one ID.
so the first couple fields in the tbl look like:
ID (unique ID for each of my clients)
BB
CC
CPT
DEW
FRE
FZ
HYT
ect for about 40 total of these shorthand codes. My form has all 40 of these checkboxes. So if "WALMART" is my client I may have about 10 of these 40 checked. If "SEARS" is a different client I may have 25 of these checked. If "TARGET" is a client they may only have 2 of these checked.
So what I want is on my form I want to add a button that says "REMOVE UNCHECKED" which will hide/remove any of those 40 fields if they are not checked. Clear the clutter if you would.
So if I open my form and go to the Walmart record and push that button only the 10 checked buttons will stay on the screen. The others will all go away until I leave that form to search for a different record.
I did not know if this should go in the FORMS section or VBA section so sorry if this is not in the correct spot.
THANK YOU TO ANYONE WHO CAN HELP.
so the first couple fields in the tbl look like:
ID (unique ID for each of my clients)
BB
CC
CPT
DEW
FRE
FZ
HYT
ect for about 40 total of these shorthand codes. My form has all 40 of these checkboxes. So if "WALMART" is my client I may have about 10 of these 40 checked. If "SEARS" is a different client I may have 25 of these checked. If "TARGET" is a client they may only have 2 of these checked.
So what I want is on my form I want to add a button that says "REMOVE UNCHECKED" which will hide/remove any of those 40 fields if they are not checked. Clear the clutter if you would.
So if I open my form and go to the Walmart record and push that button only the 10 checked buttons will stay on the screen. The others will all go away until I leave that form to search for a different record.
I did not know if this should go in the FORMS section or VBA section so sorry if this is not in the correct spot.
THANK YOU TO ANYONE WHO CAN HELP.