Report if True?

disneyplace

Registered User.
Local time
Today, 13:05
Joined
Feb 26, 2002
Messages
10
I've got a report based on a table. The table contains 2 fields, Location and a True/False field. If the check box is true, I want the data from the location field to be displayed in the report, if not, don't display it??

TIA
 
Something like this should work for you:

Code:
DoCmd.OpenReport "ReportName", acViewPreview, , _
        "[IsTrue] =" & True

Replace the IsTrue with the field name you are using for the check box and your report will open showing the only the true fields.
 
Thanks, I'll give it a whirl soon!

TAC
 

Users who are viewing this thread

Back
Top Bottom