jimday1982
Registered User.
- Local time
- Today, 03:35
- Joined
- May 13, 2004
- Messages
- 81
I'm not quite sure where to start with this one...I have a query that returns data similar to what you see below:
id--------desc-------- fax-----------------phone-------------email---------------code
123 stove 444-444-4444 444-444-4444 blah@aol.com abc
456 phone 333-333-3333 444-444-4444 blah@aol.com abc
789 pen 222-222-2222 444-444-4444 me@me.com lmnop
355 paper 111-111-1111 444-444-4444 me2@me2.com lmnop2
Somehow, I need to e-mail only the corresponding records to the designated email address...for instance, me@me.com should only get the 3rd line of data in an e-mail. blah@aol.com should get the first line and the second line.
I know it's a matter of looping through the recordset, but I am really stuck. If anyone could provide any guidance, I'd REALLY appreciate it!
id--------desc-------- fax-----------------phone-------------email---------------code
123 stove 444-444-4444 444-444-4444 blah@aol.com abc
456 phone 333-333-3333 444-444-4444 blah@aol.com abc
789 pen 222-222-2222 444-444-4444 me@me.com lmnop
355 paper 111-111-1111 444-444-4444 me2@me2.com lmnop2
Somehow, I need to e-mail only the corresponding records to the designated email address...for instance, me@me.com should only get the 3rd line of data in an e-mail. blah@aol.com should get the first line and the second line.
I know it's a matter of looping through the recordset, but I am really stuck. If anyone could provide any guidance, I'd REALLY appreciate it!