PC Review


Reply
Thread Tools Rate Thread

Control printing at a page break

 
 
DZ
Guest
Posts: n/a
 
      8th Aug 2008
Hi

My report has 3 pages for each record, separated by page breaks. How can I
not print the area after the 2nd page break (page 3) if the value in a field
is null.

Thanks

I will credit any helpful responses

DZ
 
Reply With Quote
 
 
 
 
Michel Walsh
Guest
Posts: n/a
 
      8th Aug 2008
Something like:


If ( IsNull( value ) AND [page] >=3) then

MoveLayout=false
PrintSection = false

else

MoveLayout=true
PrintSection = true

end if


(in the Detail_Print event handling subroutine)



will not print the row if the tested value is null (PrintSection=false)
without leaving a blank line (MoveLayout=false).



Vanderghast, Access MVP


"DZ" <(E-Mail Removed)> wrote in message
news:3658B5EE-18F2-411E-A1F7-(E-Mail Removed)...
> Hi
>
> My report has 3 pages for each record, separated by page breaks. How can I
> not print the area after the 2nd page break (page 3) if the value in a
> field
> is null.
>
> Thanks
>
> I will credit any helpful responses
>
> DZ



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
printing page break Dave Cullen Microsoft VB .NET 1 29th Jun 2007 10:52 PM
Vertic Printing Page Break ? Robert11 Microsoft Excel New Users 1 24th Dec 2006 03:24 PM
Page break for printing moondaddy Microsoft ASP .NET 2 7th Jul 2004 03:44 PM
Page Break when printing browser Carl Windows XP Internet Explorer 1 30th Mar 2004 06:52 PM
Non-printing page break? Nude Rooster Microsoft Excel Worksheet Functions 1 10th Sep 2003 03:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:49 AM.