twoplustwo
Registered User.
- Local time
- Today, 09:39
- Joined
- Oct 31, 2007
- Messages
- 507
Hi all,
I have a list box filtered and displayed on a form.
Against each company there can be a number of sites. I need my code to loop through each instance where the companyID of the company selected passes each site to a string that will then be used in an email.
The emailing part is fine, I'm just struggling to list each site in the data set.
Example table:
Customer Site
A 1
A 2
A 3
I need to pass sites 1,2 and 3 to a string but I'm stuck!
Thanks for any suggestions.
I have a list box filtered and displayed on a form.
Against each company there can be a number of sites. I need my code to loop through each instance where the companyID of the company selected passes each site to a string that will then be used in an email.
The emailing part is fine, I'm just struggling to list each site in the data set.
Example table:
Customer Site
A 1
A 2
A 3
I need to pass sites 1,2 and 3 to a string but I'm stuck!
Thanks for any suggestions.