Connecting Tech Pros Worldwide Help | Site Map

Print Log problems

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 13th, 2005, 09:00 AM
Chesne
Guest
 
Posts: n/a
Default Print Log problems

I have developed a print log table etc which works well when I print a
single report. However, when I print a report which contains a number
of pages to a number of different receipents I can only log the name of
the first receipent. Is there a way to log each receipent from a single
report? Below is the code which I am using -

If Flag = 2 Then

rst.AddNew
rst!ReportName = "Letter to Convenor "
rst!PrintDate = Now
rst!Receipent = Reports!rLettertoGroupConvenor!FirstName & " " &
Reports!rLettertoGroupConvenor!Surname
rst.Update
Flag = 0
End If

TIA - Ray


  #2  
Old November 13th, 2005, 09:00 AM
pietlinden@hotmail.com
Guest
 
Posts: n/a
Default Re: Print Log problems

If you filtered your report from an unbound form, then you could just
create an append query with the same form using the same criteria.

If you really wanted ugly, you could loop through the recipients
recordset and append those, but I wouldn't recommend it. Use SQL
instead. Performance when writing record-at-a-time inserts is
absolutely dire.

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.