S
Simon
I have a form which dispalys a list of customer that is based on
query, there aer about 20 customer, what i want to do is email the
list of customer to a email address
I have a button on the form that will load up email, put correct email
address and subject in but im not sure how to make sure it dispalys
the list of customer that are on the form/ query
I have used the below code but it only displays the first customer
name and not the rest
strBody = strBody & DLookup("[FirstName]",
"qryCustomersNearDealersSeach", "[DealerLocationID]=" &
Me.DealerIDSearch) & vbCrLf
strBody = strBody & DLookup("[LastName]",
"qryCustomersNearDealersSeach", "[DealerLocationID]=" &
Me.DealerIDSearch) & vbCrLf
Please could you let me know how i can display all customer name in a
list
Thanks
query, there aer about 20 customer, what i want to do is email the
list of customer to a email address
I have a button on the form that will load up email, put correct email
address and subject in but im not sure how to make sure it dispalys
the list of customer that are on the form/ query
I have used the below code but it only displays the first customer
name and not the rest
strBody = strBody & DLookup("[FirstName]",
"qryCustomersNearDealersSeach", "[DealerLocationID]=" &
Me.DealerIDSearch) & vbCrLf
strBody = strBody & DLookup("[LastName]",
"qryCustomersNearDealersSeach", "[DealerLocationID]=" &
Me.DealerIDSearch) & vbCrLf
Please could you let me know how i can display all customer name in a
list
Thanks