Hi, I have a main form with input boxes for entering search criteria & the results are output to a subform. When the user clicks clear to start a new search the input boxes clear. I would also like my search results subform to clear too. My code is as follows;
Private Sub Clear_Click()
[txtSearch1] = ""
[txtSearch2] = ""
[txtSearch3] = ""
End Sub
I understand that I need to refer to the subform with something like
Me![search_results_subform].Form = clear
but I cannot find the correct syntax. Can anybody help?! Many thanks in advance
Private Sub Clear_Click()
[txtSearch1] = ""
[txtSearch2] = ""
[txtSearch3] = ""
End Sub
I understand that I need to refer to the subform with something like
Me![search_results_subform].Form = clear
but I cannot find the correct syntax. Can anybody help?! Many thanks in advance