Filter a form based on two fields from click of button

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • norrisr4
    New Member
    • Feb 2016
    • 1

    Filter a form based on two fields from click of button

    I can get this to work...
    Me.[ScratchPadList subform].Form.Filter = "[Stage] = 4"

    and I can get this to work
    Me.[ScratchPadList subform].Form.Filter = "[Ready for Gate] = Yes"


    How do I apply them together as one using AND ?
  • Luk3r
    Contributor
    • Jan 2014
    • 300

    #2
    Code:
    Me.[ScratchPadList subform].Form.Filter = "[Stage] = 4 AND [Ready for Gate] = Yes"

    Comment

    Working...