SendObject using acSendQuery (ACC2000)

R

Richard Torrie

I am trying to send an email with a predefined query attached using the
following code.

DoCmd.SendObject acSendQuery, "Query1", acFormatHTML, MyQuery02![E-mail], ,
, "Subject Description", , 0

I can get this to work but the problem is that the query looks for certain
details from the currently opened form that then sends the email.

For some reason the query is empty, this work perfectly well using Access
97.

Richard Torrie
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top