C
Colin
hi all,
I have setup a search function linked to a button on a
data input form as below;
Function SearchDocket()
On Error Resume Next
Forms![DocketSearch]![Docket Number].SetFocus
DoCmd.FindRecord InputBox$("Enter Docket Number", "Docket
Query"), A_ANYWHERE, False, A_DOWN, False, A_CURRENT, True
End Function
This works fine, I have also setup a popup form with a
list box where the user can double click on an item in the
list which then launches a form in datasheet view with a
list of the matches.
My question is how do I marry the two. I've tried putting
a button on my popup form which calls the funtion
(correctly modified with the correct filed/form name) but
when I type something into the inputbox nothing happens.
Anyhelp greatly appreciated.
Regards,
Colin.
I have setup a search function linked to a button on a
data input form as below;
Function SearchDocket()
On Error Resume Next
Forms![DocketSearch]![Docket Number].SetFocus
DoCmd.FindRecord InputBox$("Enter Docket Number", "Docket
Query"), A_ANYWHERE, False, A_DOWN, False, A_CURRENT, True
End Function
This works fine, I have also setup a popup form with a
list box where the user can double click on an item in the
list which then launches a form in datasheet view with a
list of the matches.
My question is how do I marry the two. I've tried putting
a button on my popup form which calls the funtion
(correctly modified with the correct filed/form name) but
when I type something into the inputbox nothing happens.
Anyhelp greatly appreciated.
Regards,
Colin.