I am trying to create an interactive report but I need a little help. I
have a form with a drop down menu. I select an item from the menu and hit a
button (linked to a Macro) which then takes my selection, relates that
selection to apply to a different table (through the macro) and then outputs
this info to the report.
The problem is, I want to do this with 2 menus, i.e. I select from menu 1
and menu 2 and it produces a) that output side by side onto the report and b)
totals that output.
A little more info about how I currently have this working:
The form record source is an empty table with one field ('selection' is the
name of the table and the field). The drop down (combo box) control source
is also 'selection'). The row source for the combo box is a another table
in my database containing 3 names. So, when I select a name from the combo
box, it is then dumped into 'selection' (so now this table is no longer
I have a macro linked to a button. So, after I have made my selection from
the combo box I hit the button. The macro is used to open a report. My
macro contains a Where Condition:
County is the name of a field in a table that the report draws info from.
FormDropdown is the name of my simple combobox form, and selection is
So, my report uses a different table to source data but the fields that are
found in my simple drop down menu (sourced from a table with 3 fields) are
also found in this different table. There is a filter on the report which
reads the same as the Where Condition shown above. Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/10270-controls-and-update-tables.html
That seems to work fine! But adding another combobox is driving me mad.
I am sorry that this is such a long post, especially for my first one, but IReference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=10270
just wanted to arm you with as much info as possible.
Can anyone help?