G
Guest
I have a client management database for a law firm which contains a "Client
Information" form. This form contains client data along with combo boxes
that allow users to assign an attorney, a status, a case type, etc. to the
particular record from drop down lists. These pre-set lists (attorneys,
status, etc.) are their own tables and the selected items are recorded in a
master table.
I am able to filter the data on the "Client Information" form nicely. For
example, I can see all clients assigned to a particular attorney using
filter-by-form and selecting that particular attorney from the drop down
menu. However, after filtering using a criteria from a combo list (such as
an attorney) and attempting to open a report using the following string:
DoCmd.OpenReport "Client Summary", acViewPreview, , Me.Filter
It gives me an error message box asking for input:
Enter Parameter Value (Lookup_Attorney.Initials)
It gives the same type of error when I try to open a report after filtering
the form using any of the combo box criteria (attorney, status, etc.). I
can't figure out what I'm doing wrong, but it seems to have something to do
with the fact that these combo boxes contain data from separate
tables...please help.
Information" form. This form contains client data along with combo boxes
that allow users to assign an attorney, a status, a case type, etc. to the
particular record from drop down lists. These pre-set lists (attorneys,
status, etc.) are their own tables and the selected items are recorded in a
master table.
I am able to filter the data on the "Client Information" form nicely. For
example, I can see all clients assigned to a particular attorney using
filter-by-form and selecting that particular attorney from the drop down
menu. However, after filtering using a criteria from a combo list (such as
an attorney) and attempting to open a report using the following string:
DoCmd.OpenReport "Client Summary", acViewPreview, , Me.Filter
It gives me an error message box asking for input:
Enter Parameter Value (Lookup_Attorney.Initials)
It gives the same type of error when I try to open a report after filtering
the form using any of the combo box criteria (attorney, status, etc.). I
can't figure out what I'm doing wrong, but it seems to have something to do
with the fact that these combo boxes contain data from separate
tables...please help.