Jarvonimbus
MIS
I'm trying to apply a filter to a subform based on the entry given in an inpout box when you click a button. The subform says that it is filtered but all records are still visible!
This is the code on the button - can anyone advise please?
Many thanks
Criteria = InputBox("Enter Dealership")
[Forms]![FrmBrowser]![FrmBrowser subform].Form.Filter = [Forms]![FrmBrowser]![FrmBrowser subform]![Dealership] = Criteria
[Forms]![FrmBrowser]![FrmBrowser subform].Form.FilterOn = True
This is the code on the button - can anyone advise please?
Many thanks
Criteria = InputBox("Enter Dealership")
[Forms]![FrmBrowser]![FrmBrowser subform].Form.Filter = [Forms]![FrmBrowser]![FrmBrowser subform]![Dealership] = Criteria
[Forms]![FrmBrowser]![FrmBrowser subform].Form.FilterOn = True