Report_open

  • Thread starter Thread starter Anon
  • Start date Start date
A

Anon

Private Sub Report_Open(Cancel As Integer)

I would like to set the current record in the table clients to 2 and
open the report with that data.

End Sub

Thank you,
Eric Sepich
(e-mail address removed)
 
To restrict the report to only the record(s) where ClientID is 2:

Private Sub Report_Open(Cancel As Integer)
Me.Filter = "ClientID = 2"
Me.FilterOn = True
End Sub
 
Back
Top