开发者

How to specify dynamically the 'To:' field into a SendObject within a Macro in MS Access 2003?

开发者 https://www.devze.com 2023-01-08 11:06 出处:网络
I\'m using a form where I have one control/textbox which get populated from a query. I also have a button which launches a Macro, sending an email with an attached file.

I'm using a form where I have one control/textbox which get populated from a query. I also have a button which launches a Macro, sending an email with an attached file.

My problem is that I want to set the value of the "To:" field within the SendObject with the value which is in the textbox in my开发者_开发技巧 form.

See enclosed the screenshot: http://www.freeimagehosting.net/image.php?c6ba7d4279.jpg

Thanks for your help.


Use Forms! not Form! So

=Forms![Reporting Trade List]!Email
0

精彩评论

暂无评论...
验证码 换一张
取 消