I want to select either specific records or all in same query

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want to select a either records with a specific "team member" based on a
combo box or all team members if the combo box is left blank
 
mikeycan said:
I want to select a either records with a specific "team member" based on a
combo box or all team members if the combo box is left blank


SELECT *
FROM thetable
WHERE [team member] = Forms!theform.thecombo
OR Forms!theform.thecombo Is Null
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top