A
antgel
Hi all,
I'm having a filter problem.
DoCmd.OpenReport "rptPriceListWholesale", acViewPreview, _
"seasonid = 12"
Works, except that the filter is ignored. Filter On is set to Yes in Design
View.
One strange thing is that if I type:
?Report_rptPriceListWholesale.Filter
in the immediate window whilst the report is onscreen, I would expect to see
"seasonid = 12". But I just get a blank line.
Ideas? I have an appaling workaround, which is to send the filter string as
an argument and set it in Report_Open.
A
I'm having a filter problem.
DoCmd.OpenReport "rptPriceListWholesale", acViewPreview, _
"seasonid = 12"
Works, except that the filter is ignored. Filter On is set to Yes in Design
View.
One strange thing is that if I type:
?Report_rptPriceListWholesale.Filter
in the immediate window whilst the report is onscreen, I would expect to see
"seasonid = 12". But I just get a blank line.
Ideas? I have an appaling workaround, which is to send the filter string as
an argument and set it in Report_Open.
A