G
Guest
Hello,
I need to build a form to collect data from a questionnaire.
The questionnaire will have something like 400 questions, maybe more.
I’m thinking how to design the form and how to deal with the limitation of
255 controls on one form. I was wondering:
a) when you put a text box on a form, it comes with its label. Would this
count like having 2 controls on the form (the label + the textbox) or just
one?
b) An option group with lets say 3 choices, will count like having 8
controls on the form (one label for the whole group; one rectangular control;
one label and one check box for each option)?
c) using a tab control will override this limitation? I mean will each page
of this control count like one form accepting 255 controls? So that if you
have 2 pages you can arrange 510 controls? I would say NO, since the tab
control will stay in the form and will count like one of the control of the
form itself giving a remaining *space* for other 254 controls, wherever you
put them, on the form or on the page of the tab control.
d) even if the form is unbound will it have a maximum of 255 controls on it?
Otherwise I could manage to save data in the table using SQL or ADO through
code.
I would say there is no chance to have more then 255 controls on the form,
so the answers to my questions would most likely be: a) YES; b) YES; c) NO;
d) NO
But I’m wrong so many times!! Maybe this time I will be wrong in my favor.
Thanks,
Rocco
I need to build a form to collect data from a questionnaire.
The questionnaire will have something like 400 questions, maybe more.
I’m thinking how to design the form and how to deal with the limitation of
255 controls on one form. I was wondering:
a) when you put a text box on a form, it comes with its label. Would this
count like having 2 controls on the form (the label + the textbox) or just
one?
b) An option group with lets say 3 choices, will count like having 8
controls on the form (one label for the whole group; one rectangular control;
one label and one check box for each option)?
c) using a tab control will override this limitation? I mean will each page
of this control count like one form accepting 255 controls? So that if you
have 2 pages you can arrange 510 controls? I would say NO, since the tab
control will stay in the form and will count like one of the control of the
form itself giving a remaining *space* for other 254 controls, wherever you
put them, on the form or on the page of the tab control.
d) even if the form is unbound will it have a maximum of 255 controls on it?
Otherwise I could manage to save data in the table using SQL or ADO through
code.
I would say there is no chance to have more then 255 controls on the form,
so the answers to my questions would most likely be: a) YES; b) YES; c) NO;
d) NO
But I’m wrong so many times!! Maybe this time I will be wrong in my favor.
Thanks,
Rocco