billythedj66
Board Regular
- Joined
- Jan 6, 2003
- Messages
- 126
I have a Button (Print Report) on a Form (220 Form) that opens a specific record of a Report (220 Form - Payment 1) then prints the report, the problem I have is that if I enter or edit any of the fields on the Form, the changes aren't seen on the report, what am I missing, here's my code:
Private Sub Print Report_Click()
DoCmd.Save
DoCmd.OpenReport "220 Form - Payment 1", acViewNormal, , "[JobID]=[Forms]![220 Form]![JobID]"
DoCmd.Close acReport, "220 Form - Payment 1"
End Sub
PS: Happy Holidays!!!
Private Sub Print Report_Click()
DoCmd.Save
DoCmd.OpenReport "220 Form - Payment 1", acViewNormal, , "[JobID]=[Forms]![220 Form]![JobID]"
DoCmd.Close acReport, "220 Form - Payment 1"
End Sub
PS: Happy Holidays!!!