I
ionic-fire via AccessMonster.com
I am developing an acess 2003 database on winXP pro and have hit what appears
to be a stonewall.
Right now, I have the user check a check box to select an item and uncheck to
de-select the item. These check boxes are hard-coded, and are bound to an
integer field in a table (where it stores -1 for true or checked, and 0 for
false or not checked).
Later on in my search form, I have the user check a check box for each item
to search for, and the underlying code does a check for check box checked (if
boolChecked then...). If checked, the code adds another condition to my
whereclause to filter records having a -1 in the particular field in my table.
Problem is, the users would like to be able to dynamically add in new items
(instead of having me hard-code new controls, add table fields, and code
another whereclause condition) and be able to search for them as well. This
would entail having code to add in a field to a table, and add checkbox
controls to several forms, plus adding in another section of code to add this
new item to a whereclause for searching, not to mention my report later on
needing some addition.
I am having trouble implementing this using my current scheme of check boxes
and storing -1 or 0 to a table. Does this sound like it is possible to do? I
am just looking for some direction, thank you.
to be a stonewall.
Right now, I have the user check a check box to select an item and uncheck to
de-select the item. These check boxes are hard-coded, and are bound to an
integer field in a table (where it stores -1 for true or checked, and 0 for
false or not checked).
Later on in my search form, I have the user check a check box for each item
to search for, and the underlying code does a check for check box checked (if
boolChecked then...). If checked, the code adds another condition to my
whereclause to filter records having a -1 in the particular field in my table.
Problem is, the users would like to be able to dynamically add in new items
(instead of having me hard-code new controls, add table fields, and code
another whereclause condition) and be able to search for them as well. This
would entail having code to add in a field to a table, and add checkbox
controls to several forms, plus adding in another section of code to add this
new item to a whereclause for searching, not to mention my report later on
needing some addition.
I am having trouble implementing this using my current scheme of check boxes
and storing -1 or 0 to a table. Does this sound like it is possible to do? I
am just looking for some direction, thank you.