passing combobox value into sql query MS ACCESS

Posted by every_answer_gets_a_point on Stack Overflow See other posts from Stack Overflow or by every_answer_gets_a_point
Published on 2010-05-16T19:09:02Z Indexed on 2010/05/16 19:20 UTC
Read the original article Hit count: 253

Filed under:
|
|
|

i have a combobox on a form

i want the text of the combobox to be passed into a query.

my query is:

select..from..where something=[Forms]![Enter Data]![comboCup]

the form name is enter data and the combobox name is combocup. should i do:

[Forms]![Enter Data]![comboCup]![text]

or

[Forms]![Enter Data]![comboCup]![value]

??

© Stack Overflow or respective owner

Related posts about ms-access

Related posts about macros