I am now working on a variation of the crosstab report I was working on last week which presents a new challenge.
In this report, I have a set of 4 crosstabs all mounted as subreports on an unbound main report. Each of these is presenting a set of statistics for monthly reporting (one is male/Female client count, one is a count of new clients and their service areas, etc.) This is essentially the same report as before with the exception that it is now broken down by staff member (the other was totals for the whole department). I want each member to print on a separate sheet. I cn get it to work if I enter parameters by hand, but not if I try to feed them from a form.
I can get the crosstabs to accept parameters from a form where I select one worker at a time and then print the report but if I try to do any type of multiple select (either multiselect listbox or with MultiPik from Access Developer’s Handbook), the crosstabs won’t pick up the parameters.
I have tried a number of ways of compiling the syntax and feeding it to an unbound (hidden textbox on the Multipik) and none (so far) seem to work. If I type a parameter selection directly into the queries (by way or testing), e.g Like “WorkerA” and “WorkerB” then I can get my report to print properly. Yet, when I get my compiled list to put the identical data into the unbound textbox and have the parameter: Like [Forms]![frmMultiPik]![txtList], the query returns no data.
Hopefully, this is clear.