Filter a Query based on 10 combo boxes but if combo box is blank show All records including empty,

后端 未结 1 1778
误落风尘
误落风尘 2021-01-29 12:39

I have list box pulls data from a query based on criteria\'s selected from Combo Boxes (the combo Boxes are filled whit Data from the same table every combo box from another col

相关标签:
1条回答
  • 2021-01-29 13:13

    I found a code whats work type in query designer the following:


    if you want to write in SQL take a look on this question,

    Click on this link https://stackoverflow.com/a/38899574/9661307

    or https://stackoverflow.com/a/38852152/9661307


    in Query designer do the following

    under your column you do the criteria

    Like "*" & [Forms]![myForm]![myControl] & "*" OR [Forms]![myForm]![myControl] Is 
    Null 
    
    0 讨论(0)
提交回复
热议问题