vba - Join MS Access data in a column of emails from a filtered sub table into a string for emailing -


i have form company info, in sub form joined table has company contacts. button in parent form takes contacts company , creates string value based on email addresses in email column. open email window me has emails in field.

if new access , vb experienced in dbo , c#, can understand answers not explanation.

not sure need first part, here code email:

dim outapp object dim outmail object     set outapp = createobject("outlook.application") 'defines outlook set outmail = outapp.createitem(0) 'creates email  outmail         .to = ""         .cc = ""         .bcc = ""         .subject = ""         .body = ""         .attachments.add ""         .display 'to show email     .send 'to send email end 

Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -