Combox Filter

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

Guest

Hello & thank you in advance.

Is there a way that you can filter the combo box? I want combo box value to
be filtered from the provious screen where user enter the value. if User
enter the value "X" then display only those "X" or if user leave the it blank
then disply the entire value.

Row Source: SELECT tblCust.CustID, tblCust.LastName, tblCust.FirstName FROM
tblCust;
 
If the first form is still open, then you can add a filter to the field in
the first form

SELECT tblCust.CustID, tblCust.LastName, tblCust.FirstName FROM tblCust
WHERE FieldNameToFilter = Forms![Form1Name]![FieldName]
 
Thank you for the reply

Ofer Cohen said:
If the first form is still open, then you can add a filter to the field in
the first form

SELECT tblCust.CustID, tblCust.LastName, tblCust.FirstName FROM tblCust
WHERE FieldNameToFilter = Forms![Form1Name]![FieldName]


--
Good Luck
BS"D


skk said:
Hello & thank you in advance.

Is there a way that you can filter the combo box? I want combo box value to
be filtered from the provious screen where user enter the value. if User
enter the value "X" then display only those "X" or if user leave the it blank
then disply the entire value.

Row Source: SELECT tblCust.CustID, tblCust.LastName, tblCust.FirstName FROM
tblCust;
 

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