Hello Everyone,
Once again its me and with a new question, before asking question just to say, recently got promotion and some of the credit goes to this forum.
here is my question. I have a parameter query where user enter the criteria and get their result. I want to use a list box where user can select the value and get their result. so far I did the following
created a form (frmCriteria), with list box link to table, in query criteria I added the [Forms]![frmCriteria]!
[List12].
Its works perfectly when I choose one value, but does not work when I change the list box properties, Multi Select from none to Extended, is there any way I can select multiple value or select all value from list box and query display the result. The SQL statement of my query as follows.
SELECT tblInventoryTransaction.IssuedDepartment, tblDepartment.Description, tblInventoryTransaction.TransactionDate, tblInventoryTransaction.TransactionItem, tblInventoryTransaction.Quantity
FROM tblDepartment INNER JOIN tblInventoryTransaction ON tblDepartment.ID = tblInventoryTransaction.IssuedDepartment
WHERE (((tblInventoryTransaction.IssuedDepartment)=[Forms]![frmCriteria]!
[List12]));
Thanks y'all in advance
Once again its me and with a new question, before asking question just to say, recently got promotion and some of the credit goes to this forum.

here is my question. I have a parameter query where user enter the criteria and get their result. I want to use a list box where user can select the value and get their result. so far I did the following
created a form (frmCriteria), with list box link to table, in query criteria I added the [Forms]![frmCriteria]!
[List12].
Its works perfectly when I choose one value, but does not work when I change the list box properties, Multi Select from none to Extended, is there any way I can select multiple value or select all value from list box and query display the result. The SQL statement of my query as follows.
SELECT tblInventoryTransaction.IssuedDepartment, tblDepartment.Description, tblInventoryTransaction.TransactionDate, tblInventoryTransaction.TransactionItem, tblInventoryTransaction.Quantity
FROM tblDepartment INNER JOIN tblInventoryTransaction ON tblDepartment.ID = tblInventoryTransaction.IssuedDepartment
WHERE (((tblInventoryTransaction.IssuedDepartment)=[Forms]![frmCriteria]!
[List12]));
Thanks y'all in advance