L
ljr
On my main form, I hav a button that will open a popup form. The popup form
has unbound combo boxes to allow user to select criteria. Once criteria is
selected, the form footer is visible, which is a subform listing records
based on critera. I also have a field on the subform "edit" which when
selected, I want to filter the main form to the record selected. On
"edit_click" I have the following code but no matter what I do, I'm not
getting it to work.
I keep getting "Run-time error '2465':
Application-defined or object-defined error"
Form.frmMain.Form.Filter = "'" & [KronosNo] = " & Me.KronosNo & '"
DoCmd.Close , "frmSelectedVehSearch"
has unbound combo boxes to allow user to select criteria. Once criteria is
selected, the form footer is visible, which is a subform listing records
based on critera. I also have a field on the subform "edit" which when
selected, I want to filter the main form to the record selected. On
"edit_click" I have the following code but no matter what I do, I'm not
getting it to work.
I keep getting "Run-time error '2465':
Application-defined or object-defined error"
Form.frmMain.Form.Filter = "'" & [KronosNo] = " & Me.KronosNo & '"
DoCmd.Close , "frmSelectedVehSearch"