I have created a form (FrmCrit) that has three boxes in it. Two are combo boxes and the other is a text box. The first combo box, cboJobType, selects the type of job you want to sort by from the list. The second combo box, cboItemType, selects the item type from the list. The text box, search, searches for text from the item description field and has the wild card embedded in the query as you had shown. In a query (Query by Job & Group Type) I coded the criteria [Forms]![FrmCrit]![JobType] and etc. I have a command button box that opens another form (Search Output Form) made from the same query. This work fine except if I select an * in the first combo box (which also is the first column in the query). With a asterisk in all the boxes I should get everything from the table that the query is set up to find. When I select the * in the first box I get nothing but an empty row of data. If I select any item in the first box and asterisks in the others everything works fine. The other oddity is that on the same selection form (FrmCrit) I also have a command button to go to a report made from the same query as the Output form. On the report all the data is there when asterisks are used in all three boxes.
If I have selected * in the combo boxes with the form open and then open the query to the data it also shows all the data that I expect.
I'm using MS Access97
Do you have any suggestions?
If I have selected * in the combo boxes with the form open and then open the query to the data it also shows all the data that I expect.
I'm using MS Access97
Do you have any suggestions?