D
Dave Elliott
Need form BlankChecks to open with criteria from combo187 on form
frmAutoPayrollReport
Table where Combo187 comes from is VendorInfo
Query where Combo187 comes from is Vendor Field is Vendor
Form where combo187 is on is named frmAutoPayrollReport
How can I make the combo187 open the form BlankChecks showing whatever I
input into the Combo187 Drop Down List?
On Error GoTo Err_Command167_Click
Dte1 = Forms!frmAutoPayrollReport!BeginDate
Dte2 = Forms!frmAutoPayrollReport!EndDate
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "BlankChecks"
DoCmd.OpenForm stDocName where [Customers] =
[Forms]![frmAutoPayrollReport]![Combo187]"
Me![Combo187] = Null
Exit_Command167_Click:
Exit Sub
Err_Command167_Click:
MsgBox Err.Description
Resume Exit_Command167_Click
frmAutoPayrollReport
Table where Combo187 comes from is VendorInfo
Query where Combo187 comes from is Vendor Field is Vendor
Form where combo187 is on is named frmAutoPayrollReport
How can I make the combo187 open the form BlankChecks showing whatever I
input into the Combo187 Drop Down List?
On Error GoTo Err_Command167_Click
Dte1 = Forms!frmAutoPayrollReport!BeginDate
Dte2 = Forms!frmAutoPayrollReport!EndDate
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "BlankChecks"
DoCmd.OpenForm stDocName where [Customers] =
[Forms]![frmAutoPayrollReport]![Combo187]"
Me![Combo187] = Null
Exit_Command167_Click:
Exit Sub
Err_Command167_Click:
MsgBox Err.Description
Resume Exit_Command167_Click