G
Guest
Hi
I have two list boxes which I am trying to use as part an email function for
an app I am creating. One list box is populated with names of current
customers and has the following row source
SELECT IIf(IsNull([tblCustomers]![LastName]),"x",[tblCustomers]![LastName] &
", " & [tblCustomers]![FirstName]) AS Name, tblCustomers.Company
FROM tblCustomers
WHERE (((tblCustomers.Email) Is Not Null))
ORDER BY IIf(IsNull([tblCustomers]![LastName]),"x",[tblCustomers]![LastName]
& ", " & [tblCustomers]![FirstName]);
I would like to be able to copy customers from this list box to the other
list box by selecting a customer and clicking a command button. Has anyone
ever done this before? I recall reading an article where someone done similar
but I cant remember where it is.
TIA
I have two list boxes which I am trying to use as part an email function for
an app I am creating. One list box is populated with names of current
customers and has the following row source
SELECT IIf(IsNull([tblCustomers]![LastName]),"x",[tblCustomers]![LastName] &
", " & [tblCustomers]![FirstName]) AS Name, tblCustomers.Company
FROM tblCustomers
WHERE (((tblCustomers.Email) Is Not Null))
ORDER BY IIf(IsNull([tblCustomers]![LastName]),"x",[tblCustomers]![LastName]
& ", " & [tblCustomers]![FirstName]);
I would like to be able to copy customers from this list box to the other
list box by selecting a customer and clicking a command button. Has anyone
ever done this before? I recall reading an article where someone done similar
but I cant remember where it is.
TIA