G
Guest
I have set up an eventprocedure with the following code to preview a report
from my form screen. I've got it to open the report in preview mode but I
want it to filter to the record that I'm on. The problem is that I have two
identifiers "CRSE_CD" and "SESSION_NO" which are both text fields. How do I
implement this filter into my event procedure coding?
Private Sub PackingList_Click()
On Error GoTo Err_PackingList_Click
DoCmd.OpenReport "RptPackingList", acViewPreview
Exit_PackingList_Click:
Exit Sub
Err_PackingList_Click:
MsgBox Err.Description
Resume Exit_PackingList_Click
End Sub
from my form screen. I've got it to open the report in preview mode but I
want it to filter to the record that I'm on. The problem is that I have two
identifiers "CRSE_CD" and "SESSION_NO" which are both text fields. How do I
implement this filter into my event procedure coding?
Private Sub PackingList_Click()
On Error GoTo Err_PackingList_Click
DoCmd.OpenReport "RptPackingList", acViewPreview
Exit_PackingList_Click:
Exit Sub
Err_PackingList_Click:
MsgBox Err.Description
Resume Exit_PackingList_Click
End Sub