Expand|Select|Wrap|Line Numbers
- SELECT [Cost Codes].CostCode
- FROM [Cost Codes]
- WHERE ((([Cost Codes].JobNumber)
- =[Forms]![Data Import]![Job Number])
- AND (([Cost Codes].SubJobNumber)
- =[Forms]![Data Import]![Sub Job]))
- ORDER BY [Cost Codes].CostCode;
I have tried playing around with Is Null and if placed in the Or portion of the Query Builder, table entries with blank Sub Jobs always appear in the ComboBox.
Any ideas on how to modify this to only show Cost Codes with matching Job and Sub Job numbers, even if the Sub Job field is blank?