i have a form which filters
stDocName = "frmFsource"
stLinkCriteria = "[StaffID] = '" & Me![cboStaffID] & "' And [AbID] = '" & Me![cboBud] & "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria
and im trying to add another field. this one's little bit different since im not linking them from another form, instead a table.
"password".
i have a tblPassword with names of staffs and pws.
how do i make it so that when i double click from listbox
it'll check to match the pw from the tbl and the fieldbox(password) on the form?
stDocName = "frmFsource"
stLinkCriteria = "[StaffID] = '" & Me![cboStaffID] & "' And [AbID] = '" & Me![cboBud] & "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria
and im trying to add another field. this one's little bit different since im not linking them from another form, instead a table.
"password".
i have a tblPassword with names of staffs and pws.
how do i make it so that when i double click from listbox
it'll check to match the pw from the tbl and the fieldbox(password) on the form?