Group: microsoft.public.access.modulesdaovba · Group Profile · Search for Synthax in microsoft.public.access.modulesdaovba
Author: Alex Dybenko
Date: Sep 17, 2008 07:41
for 1. if you look at the help you'll see that the proper synthax is like expression.SendObject(ObjectType, ObjectName, OutputFormat, To, Cc, Bcc, Subject, MessageText, EditMessage, TemplateFile) Your code is DoCmd.SendObject acSendNoObject, , , "myEmail", , , "some Subject ", "Hi" You specify acSendNoObject when in fact you just said you want to send the form so you should be using acSendForm
|