I looked at the other postings for adding "all" as a choice in a combo box on a form and I have successfully added this choice to the combo box. My problem is how to return records for the all selection. The combo box is in the detail section of the main form "DataEntry" and is used to populate the subform based on a the [Assignee] field. This situation is unique in that the Assignee field is populated by a query the subform is based on called "DataEntrySub". In this query Assignee is determined by this:
My query for the combo box is
I can't figure out how to return all records. My first thought is in the criteria of the Assignee field in the subfrm query but I can't seem to get it correct.
All help is appreciated.
Code:
Assignee: IIf([Join_tbl]![TaskAssignee] Is Null,[Join_tbl]![Administrator],[Join_tbl]![TaskAssignee])
Code:
SELECT DISTINCT ComboQry.Assignee, ComboQry.Assignee FROM ComboQry UNION SELECT "All" AS Assignee, "*" as AllChoice FROM ComboQry
ORDER BY ComboQry.Assignee;
All help is appreciated.