D
Dave Elliott
Main form is named TimeCards with a memo field on it named Job Description
I want the pop-up form named frmJobDescription to open and show the job
description for the record that is open on the main form.
The pop-up form should show only the job description for each TimeCard or
record.
Somehow I need to link the criteria, how???
I tried the below code, but it did not work.
The record source is set the same for both forms.
On Error GoTo Err_Command11_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmJobDescription"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_Command11_Click:
Exit Sub
Err_Command11_Click:
MsgBox err.Description
Resume Exit_Command11_Click
I want the pop-up form named frmJobDescription to open and show the job
description for the record that is open on the main form.
The pop-up form should show only the job description for each TimeCard or
record.
Somehow I need to link the criteria, how???
I tried the below code, but it did not work.
The record source is set the same for both forms.
On Error GoTo Err_Command11_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "frmJobDescription"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_Command11_Click:
Exit Sub
Err_Command11_Click:
MsgBox err.Description
Resume Exit_Command11_Click