G
Guest
Hi,
I have a customer database and a form that allows additions/edits.
The user wants to be able to search on any of the fields on the form.
Ok, I have included a search button on the main screen and open the customer
form using VB as follows:
DoCmd.OpenForm "Find Customers"
RunCommand acCmdFilterByForm
I have placed 2 buttons on the form...1 to invoke the search once the user
has entered the required criteria and the second to basically switch the
filter off, close the form and go back to the main menu.
The problem I have is that these two buttons seem to be disabled i.e. I
cannot click on them to switch the filter on and off.
Am I doing this the wrong way?
What code should be behind these buttons to apply the fiter and then switch
it off?
Anyone any ideas?
Can you, using the above method apply filters on filters?
I have a customer database and a form that allows additions/edits.
The user wants to be able to search on any of the fields on the form.
Ok, I have included a search button on the main screen and open the customer
form using VB as follows:
DoCmd.OpenForm "Find Customers"
RunCommand acCmdFilterByForm
I have placed 2 buttons on the form...1 to invoke the search once the user
has entered the required criteria and the second to basically switch the
filter off, close the form and go back to the main menu.
The problem I have is that these two buttons seem to be disabled i.e. I
cannot click on them to switch the filter on and off.
Am I doing this the wrong way?
What code should be behind these buttons to apply the fiter and then switch
it off?
Anyone any ideas?
Can you, using the above method apply filters on filters?