Sorry for the confusing subject. I will try to explain the structure, as basically as possible. I have a main "project" table - tblProject. There are 12 int fields that are used as check boxes on the data entry form, to check off if that option is being used in the project. intone, inttwo, intthree. Their labels are way longer and more involved, eg. Option One: Team would like to have conveference room availability. This relationship of options in the project are one to one, so it didn't make sense to put the options in another table.
I now need to make a report menu, which actually runs the report as a spreadsheet view query in a subreport object on the report form. I have a listbox of the projects that the user can select one or more. If they select none, then there is no filter. If they select any, the report filters to those projects.
In order to allow me to make a listbox of the options on the report menu, I set up a table of these options, called tblProjectOptions. These are the fields:
ID - (int/identity field/primary key)
NumOrder - (int) an ordering column for the options
ProjField - (nvarchar(255)) the field names from the tblProject (intone, inttwo, intthree)
ProjDesc - (nvarchar(255)) the description of the option (matches the labels on the data entry form)
I can use the ProjDesc to populate a listbox on the report menu, but then I need to be able to use some vba to match the projfield with the field name in the tblProject, to see which records have those options checked.
Does this make sense? I am open to suggestions.
Thanks
misscrf
It is never too late to become what you could have been ~ George Eliot
I now need to make a report menu, which actually runs the report as a spreadsheet view query in a subreport object on the report form. I have a listbox of the projects that the user can select one or more. If they select none, then there is no filter. If they select any, the report filters to those projects.
In order to allow me to make a listbox of the options on the report menu, I set up a table of these options, called tblProjectOptions. These are the fields:
ID - (int/identity field/primary key)
NumOrder - (int) an ordering column for the options
ProjField - (nvarchar(255)) the field names from the tblProject (intone, inttwo, intthree)
ProjDesc - (nvarchar(255)) the description of the option (matches the labels on the data entry form)
I can use the ProjDesc to populate a listbox on the report menu, but then I need to be able to use some vba to match the projfield with the field name in the tblProject, to see which records have those options checked.
Does this make sense? I am open to suggestions.
Thanks
misscrf
It is never too late to become what you could have been ~ George Eliot