Hi experts,
I have a trouble filtering my query and report using combo boxes, I also use a wildcard on the criteria field to do the filtering.
These are the following table that I made for this specific practice.
1. Employee
-ID
-FirstName
-LastName
-Occupation
2. DeviceType
-ID
-DeviceType
3. ListOfDevices
-ID
-DeviceName
-DeviceModel
-DeviceType -----------> Referenced to the DeviceType Table
-EmployeeID ----------> Referenced to the Employee Table
-DeviceStatus
I created a form using the listOfDevice as a record source and inside the form, I add unbound combo box to store a value in the devicetype field, everything is working fine when it comes to data entry and even the records are showing in the query whenever I view the query report. So, I started putting a filter on the criteria field for the DeviceType and FirstName. On this part, the filter works fine and it gives me my desired result. However, when I add the third filter which is on the DeviceStatus field it only gives me a specific result even if I didn't select any criteria from the combo box which the DeviceStatus criteria is associated with. If I'm not mistaken, the way I understand the filtering if I leave all the criteria as blank it should show me all the record list, in other words, it will only show specific record based on the selection from the combo box.
I have a trouble filtering my query and report using combo boxes, I also use a wildcard on the criteria field to do the filtering.
These are the following table that I made for this specific practice.
1. Employee
-ID
-FirstName
-LastName
-Occupation
2. DeviceType
-ID
-DeviceType
3. ListOfDevices
-ID
-DeviceName
-DeviceModel
-DeviceType -----------> Referenced to the DeviceType Table
-EmployeeID ----------> Referenced to the Employee Table
-DeviceStatus
I created a form using the listOfDevice as a record source and inside the form, I add unbound combo box to store a value in the devicetype field, everything is working fine when it comes to data entry and even the records are showing in the query whenever I view the query report. So, I started putting a filter on the criteria field for the DeviceType and FirstName. On this part, the filter works fine and it gives me my desired result. However, when I add the third filter which is on the DeviceStatus field it only gives me a specific result even if I didn't select any criteria from the combo box which the DeviceStatus criteria is associated with. If I'm not mistaken, the way I understand the filtering if I leave all the criteria as blank it should show me all the record list, in other words, it will only show specific record based on the selection from the combo box.