Quote:
Originally Posted by SoftDux
Cause the form values are all dynamic, so I can't do a true false, since I don't know at coding time what values the form has.
|
The database must have a column for each checkbox that can be used.
A query to the database should be able to tell you which checkboxes were checked and which were not.
What I mean is, if you want to query the database to see how many people checked a certain box, then there should be a column in the database for that checkbox and if they checked it, then there will be a value in it. If they didn't check a certain box, then there won't be a value in it.
It shouldn't matter how many check boxes are dynamically created in any given form.
Because there should be a column for each possible checkbox in the database.
And those columns should have a value if the checkbox was checked and no value if it wasn't.