Using Access 2000
I have an two button option group on a form. Behind each button is code to determine the Row Source for a list box.
The code works. The union query forces <ALL> to the top of the list. However, why does a double quotation mark " show opposite the <ALL>? And how do I fix this so that doesn't happen?
Thanks.
Tom
I have an two button option group on a form. Behind each button is code to determine the Row Source for a list box.
Code:
Me.lstCustomers.RowSource = "SELECT tblCustomers.CustomerID, IIf(IsNull([Company]),[NameLast],[Company]) AS Display, tblCustomers.NameFirst FROM tblCustomers " _
& "UNION SELECT '0',"" < ALL > "","" ''"" FROM tblCustomers " _
& "ORDER BY Display, tblCustomers.NameFirst;"
The code works. The union query forces <ALL> to the top of the list. However, why does a double quotation mark " show opposite the <ALL>? And how do I fix this so that doesn't happen?
Thanks.
Tom