Populating a ComboBox via a Query with conditional criteria

Shinta

Registered User.
Local time
Today, 05:22
Joined
Jan 11, 2012
Messages
48
Greetings:

I'm wish your help in a query concept; I'm pupulating an unbound ComboBox with a Query via the QueryDesigner. The value of the Rowsource depends on the value of another ComboBox at the main Form.

After several hours of trial and error, I came to the solution showed at the attached image ("works"); my concern is.. why does my first approach does not work via the IIF clause? ("not work")

Thanks a lot in advanced..

Regards :)
 

Attachments

  • ConditionalQuery(NotWork).jpg
    ConditionalQuery(NotWork).jpg
    88.6 KB · Views: 123
  • ConditionalQuery(works).jpg
    ConditionalQuery(works).jpg
    97.1 KB · Views: 129
Use the query by example window, then the query builder to reference the 1st combo box in the query's criteria row.
 
Greetings...

Could you expand a little bit your explanation? I just couldn't catch it :confused: ...

Thanks a lot in advanced..

Regards,
 

Users who are viewing this thread

Back
Top Bottom