SpiritedAway
Registered User.
- Local time
- Today, 15:41
- Joined
- Sep 17, 2009
- Messages
- 97
I have a couple of questions regarding database/form design.
I have a table that has 212 fields (majority of these are simple yes/no tick boxes) - is that number of fields in a table to store data ok or could it be a problem?
(eventually I will break these down when I need to run query's or reports - I just wanted to keep all the data in one table instead of loads of smaller tables)
From that table I have made a form. I have divided the 212 would-be fields into 4 groups, IQ tickboxes, OQ tickboxes, PQ tickboxes, LV tickboxes.
I have 4 buttons, IQ, OQ, PQ, LV, depending on which button I press determines which tickboxes are visible or invisible.
However, I'm getting an error message that says, "Runtime Error 2165 - You can't hide a control that has the focus".
I have a field called "txtfieldSystem" that is always visible - regardless of which button I press. Is it possible that which ever IQ,OQ,OQ,LV button I press "txtfieldSystem" will have the focus - so that the focus won't be on control that is about to be hidden but on the field that is always visible?
Any help on this would be great.
I'm using Access 2007
I have a table that has 212 fields (majority of these are simple yes/no tick boxes) - is that number of fields in a table to store data ok or could it be a problem?
(eventually I will break these down when I need to run query's or reports - I just wanted to keep all the data in one table instead of loads of smaller tables)
From that table I have made a form. I have divided the 212 would-be fields into 4 groups, IQ tickboxes, OQ tickboxes, PQ tickboxes, LV tickboxes.
I have 4 buttons, IQ, OQ, PQ, LV, depending on which button I press determines which tickboxes are visible or invisible.
However, I'm getting an error message that says, "Runtime Error 2165 - You can't hide a control that has the focus".
I have a field called "txtfieldSystem" that is always visible - regardless of which button I press. Is it possible that which ever IQ,OQ,OQ,LV button I press "txtfieldSystem" will have the focus - so that the focus won't be on control that is about to be hidden but on the field that is always visible?
Any help on this would be great.
I'm using Access 2007