Filter Report

adams.bria

Registered User.
Local time
Yesterday, 17:51
Joined
Apr 28, 2010
Messages
41
I have report 1, which gives basic information about job openings, sorted by position, then it lists the employer, # of openings etc.

On report 2 I have the requirements that the employer has sent us.

User would start on report 1, then click button which loads report 2, filtered based on which employer they clicked on.

Problem: How to tell Access to read only the dept which they are clicking on. Right now here is what I have behind the button. It is reading all the dept_name 's except just the dept_name of that specific row.

Code:
Private Sub Command41_Click()

Dim dept As String

dept = "dept_name"

DoCmd.OpenReport "rptDept_Requirements", acViewPreview, , dept

End Sub
 

Attachments

  • access.png
    access.png
    29.2 KB · Views: 105

Users who are viewing this thread

Back
Top Bottom