The Y2004 field is a 1 character field, containing either
Y, N, or is blank. The name of the database is"PMHA
Directory Try 2". All fields are in that database.
In the Report design view, I click on View, Properties,
then data. The record Source has "PMHA Directory Try
2". The filter is empty, Filter off, Order by Empty, and
order by off.
I assume I need something like: =IIf([Y2004]="Y",(PMHA
Directory Try 2),"")
If I put the database name in "Record Source" and the
above IIf string in Filter and turn filter on, I get a
Syntax Error (Missing Operator) in Query Expression (
=IIf--- etc.
I'm new using Access so maybe the obvious isn't so
obvious. Am I close or still miles away.
Dick
-----Original Message-----
It would have been good if you told us what typical entries for Y2004 were,
so... I'm going to assume that the "Y" could be in any position of the
field.
In the RecordSource query for the report, in the Y2004 column place this
criteria...
Like "*" & "Y" & "*"
The 2 "*" are globals, and this criteria "reads" as "a field that has a 'Y'
in any position."
hth
Al Camp
I have a report generated that formats and prints all
records in a table (Name, address, & Phone Num. Etc.).
There is and additional field in the table labeled
[Y2004]. I would like to print only those records that
have a "Y" in this field.
How do I go about doing this? I assume it is a Query of
some type, but its not clear to me how to do it.
Dick
.