Filter button on access form (1 Viewer)

Did you check if the controltype is the right type? If you don't it will fail at some point.

You can look at a site called functionX
 
I did not understanding the control type.
How do I check?
 
How many controls are you looking to use?
 
Something like:
Code:
Select Case Screen.PreviousControl.Name
    Case "Combo1", "Combo2", "Combo3", ...
        Screen.PreviousControl.Setfocus
    Case Else
        ' Do nothing
End Select

Put the names of the combo boxes on that case line.
 
I sense this is really getting close to what I need. I have a dashboard for my database with a button for users to click to open a search form. Upon clicking it, the search form opens in Filter by Form mode, exactly like I want. But the command buttons are greyed out. I saw several coding instructions here, but I'm not sure where they go. I appreciate all the help I can get.
 
Last edited:
Any suggestions how to make the filter button to list the data? I have two filter buttons on my form but one lists the data to select from where the other only give me the option to text filter?
 

Users who are viewing this thread

Back
Top Bottom