If I want to open a report and only include records based on values from a cbo based on a value list.
Say I only have 3 records "Male", "Female", "Undecided" for example or Active, Dormant, Extinct
If I want the report to just show Male records
DoCmd.OpenReport "rptActive", acViewPreview, ,= -----------------------
can somebody please tell me code that will work
(at the moment the DB I have taken over has duplicated reports (identical) with queries for each with the condition
=Active or <> Active but having two reports where one will do is a bit wasteful. and there are 3 instances of this.
Thanks