Discussion Locked

Access' SendObject and Email's To: field

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Is there any way to have the SendObject command look at a table for the To: field. I have user info in a table and i need to have either the macro or VBA code look at that table for the Name in the To: field. It's code that runs without the user's input and needs to stay automatic. We customize about 40 apps/databases for this purpose. Any help would be appreciated.

3 replies

by donq

You might try placing "[Forms]![TableName].[To:]" in the Criteria section of a query that builds your recordset. Eliminate the quotes in your work. I just used them to demo the container,table, and field seporators.

by rmann

Thank you for trying to help, but for code it will not pull in the name in that field, only the code that i used.

This discussion is closed to new replies.