legalhustler
Well-known Member
- Joined
- Jun 5, 2014
- Messages
- 1,214
- Office Version
- 365
- Platform
- Windows
I have a pop up Search Form that looks into a (read only) Table. In the Search Form I type a vendor name and click the binocular button and the Table shows the specific vendor records. I would like the Search Form to requery the Table so when I type a different vendor name (or any other criteria that I have on my Search Form) and click the binocular button the Table is requeried/refreshed instead of me having to close the tabbed Table and reopen it to see the second set of my search results.
Here is the code for Binocular button in my Search Form:
Here is the code for the different criteria text boxes in my Search Form:
I believe this is pretty simple me.requery.TableName type of code that I need to modify in my Binocular Button. Thanks for the help in advance.
Here is the code for Binocular button in my Search Form:
Code:
Private Sub BinocularButton_Click()
DoCmd.OpenQuery "Fiscal Quarter & Cycle Time", acViewNormal
End Sub
Here is the code for the different criteria text boxes in my Search Form:
Code:
Private Sub Command20_Click()
Me.qVendor.Value = ""
Me.qPurchaseOrder.Value = ""
Me.qContractNumber.Value = ""
Me.qContractAction.Value = ""
End Sub
I believe this is pretty simple me.requery.TableName type of code that I need to modify in my Binocular Button. Thanks for the help in advance.
Last edited: