Keith Nichols
Registered User.
- Local time
- Today, 02:01
- Joined
- Jan 27, 2006
- Messages
- 431
Hi,
The code shown below generates the reprot with no filtering. I want to have the report for the current record only based on the ProjectID.
StrCriterion = "[ProjectID]=" & Me![ProjectId]
DoCmd.SendObject acReport, stDocName, , , , , Subjecttxt, Messagetxt, , StrCriterion 'Mail report
What am I doing wrong?
The code shown below generates the reprot with no filtering. I want to have the report for the current record only based on the ProjectID.
StrCriterion = "[ProjectID]=" & Me![ProjectId]
DoCmd.SendObject acReport, stDocName, , , , , Subjecttxt, Messagetxt, , StrCriterion 'Mail report
What am I doing wrong?