HI FRIENDS.
 
Recently i am working on a project , in which i face one problem,When i try to send Email i got problem.
 
Please look this codes :
 
''''''' function 
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
(1)    While lnglast <= txtListCount       
(2)               DoCmd.SendObject acSendReport, "Report1", acFormatSNP, "[EMAIL PROTECTED];", , , "Leave", , , True
(3)               lnglast = lnglast + 1
(4)    Wend
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
Now Assume lnglast =1 and txtListCount=2, 
but when (2) line excute then after my Control was lost,it will come out of function
 
please guide.
i use this code to send list of report through email in Snap Shot Format.
''''''''''''''''''''''''''
my Second problem is that
How to Set Report1 at run time ,
mean how to set Srno =1 record or Srno =2  at runtime
Right now i will take on Srno=1 Record only , but i want to send all the record in my list.
 
Please Guide me as soon as possible
 
Thank s for hearing me.
 
Brijraj Rathod
 
 
 



Please zip all files prior to uploading to Files section.




SPONSORED LINKS
Microsoft access developer Microsoft access help Microsoft access training
Microsoft access training course Microsoft access programming Microsoft access tutorial


YAHOO! GROUPS LINKS




Reply via email to