Command button print report from combo box

C

Command Combo

How do I print a report of a specific record based on results of combo box on form?
 
E

Elwin

use the WhereCondition parameter of the OpenReport method.

DoCmd.OpenReport "myReport", , , "[RecordID]='3'"
 
Top