Now I am opening the report
- design view
- Botton
- (right click) properties
- name : I write the name of the report
- caption: I write the name of the command
- from event- on click: [Event Procedure] then I press the botton next to it
past this
Dim strDocName As String
Dim strWhere As String
strDocName = "rptSomeReport"
strWhere = "[RunID]=" & me!RunID
DoCmd.OpenReport strDocName, acPreview, , strWhere
Is my process right? andi what should I put in [RunID]