D
Don
I have a Yes/No field in my query called Chronology Doc.
I have an option Group on my form. If a user Selects No
(option 1) I want ONLY the "Yes" records to print. If the
user selects Yes, I want all the records to print.
The problem seems to be with the FALSE portion of my if
statement. Isimply want to say, is the user selects
option 1, print only the yes records, but otherwise print
all the records. No matter what I choose, only Yes
records are extracted.
I've tried 'Like *' Putting No or Yes in the false
portion of the if statement results in the following:
IIf([Forms]![frmReports]![Frame28]=1,Yes,([tblabc].
[ChronologyDoc])=No Or ([tblabc].[ChronologyDoc])=Yes)
Any ideas would be apprecited. Thanks in advance.
Don
I have an option Group on my form. If a user Selects No
(option 1) I want ONLY the "Yes" records to print. If the
user selects Yes, I want all the records to print.
The problem seems to be with the FALSE portion of my if
statement. Isimply want to say, is the user selects
option 1, print only the yes records, but otherwise print
all the records. No matter what I choose, only Yes
records are extracted.
I've tried 'Like *' Putting No or Yes in the false
portion of the if statement results in the following:
IIf([Forms]![frmReports]![Frame28]=1,Yes,([tblabc].
[ChronologyDoc])=No Or ([tblabc].[ChronologyDoc])=Yes)
Any ideas would be apprecited. Thanks in advance.
Don