No, you don’t have to.

guest (Jian)
I got refresh my memory, haven’t done that for long time.

No, you don’t have to. Suppose you have a query say STUDENT, you want query by field GRADE with different value, and you have a form called FORM1, combo box in that form called COMBO1 with predefined value Grade1, Grad2…etc.

In GRADE criteria you can put expression: [Forms]![FORM1]![COMB1], you can also use expression wizard to build it. So value in criteria is get from that combo box. Create a button in that form to open the query STUDENT, Just pick any number from pull down list and click button… Walla…

Is this what you want? Hope I got your right.

2001-2-23 -04:00

回到话题: to create a dropdown box for users to make a customized query in Access?

回到论坛: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论