I have 2 tables which populate 2 different forms
tbl_Work_Request which populates frm_Work_Request
and tbl_Project which popuates frm_Project
I have a list box on the Work Request form which when double-clicked, takes the value that was double-clicked and passes it to the code below.
Dim ClickedProj As String
ClickedProj = list_Project_ID.Value
DoCmd.OpenForm "frm_Project", , , "[Project_ID]=" & ClickedProj
This almost works fine, but the form is opening with only one record, but I want to open ALL records but jump to the record that I want. (the passed value is the primary key)
tbl_Work_Request which populates frm_Work_Request
and tbl_Project which popuates frm_Project
I have a list box on the Work Request form which when double-clicked, takes the value that was double-clicked and passes it to the code below.
Dim ClickedProj As String
ClickedProj = list_Project_ID.Value
DoCmd.OpenForm "frm_Project", , , "[Project_ID]=" & ClickedProj
This almost works fine, but the form is opening with only one record, but I want to open ALL records but jump to the record that I want. (the passed value is the primary key)