On Thu, 4 Feb 2010 13:22:01 -0800, Jess <(E-Mail Removed)>
wrote:
>I have a report which I open from a form with the openreport command. I
>execute the report with a where condition whose string is as follows:
>
>"FERC_status <> 'L'"
>
>FERC_status is a field on the table my report is based on.
>
>Everytime the openreport is invoked Access asks me the parameter value for
>FERC_status. What is going on here? I already supplied the value for
>FERC_status (<> "L")
>
>Thanks for your help
>
This means that (despite what you think!) that FERC_Status is *not* in the
form's Recordsource. Is that recordsource the table? or a query based on the
table? If a query, is FERC_Status included?
This could also be a spelling issue - if the field is actually named
"FERC Status" then (under some circumstances) Access will show it to you with
an underscore replacing the blank but the name still must be referenced with a
blank:
"[FERC Status] <> 'L'"
--
John W. Vinson [MVP]
|