Gasman
Enthusiastic Amateur
- Local time
- Today, 15:35
- Joined
- Sep 21, 2011
- Messages
- 17,413
You place a breakpoint in the code in that event procedure, then run the form as normal.
That will take you into that procedure and walk the code line by line with F8.
Place a Debug.Print of the filter string before you try and use the filter and see what it produces.
An AND is only valid for subsequent extra filter strings, NOT the first string.
That will take you into that procedure and walk the code line by line with F8.
Place a Debug.Print of the filter string before you try and use the filter and see what it produces.
An AND is only valid for subsequent extra filter strings, NOT the first string.