Re: making a footer visible=false in a report



Don't try to figure it out: just try 1,2,3,4,5,6,
until you find which one is correct, or, better
use
me.printsection = false

(david)


"kaosyeti@xxxxxxxxxxx" <u15580@uwe> wrote in message
news:57b9ce82c635c@xxxxxx
>i can't get this working. in vba i tried to set visible to false in an if
> statement that looked like this:
> Private Sub GroupFooter1_Format(Cancel As Integer, FormatCount As Integer)
> If IsNull(Forms!formquerybuilder.Controls!cboxdepartment) = False Then
> Reports!rptcontactdata.Section(GroupFooter1).Visible = False
>
> End If
>
> instead of 'groupfooter1' i tried using 'section(1)', i tried using
> 'saleperson footer' which is the name of the group that corresponds to
> that
> section. i just can't figure this one.
>
> the report is divided into 3rds, top is 'department 1', middle is
> 'department 2' and bottom is the combined total. my statement is supposed
> to
>
> hide the total (bottom 3rd) when the user selects only one department to
> run
> the report off of (rather than the usual 'null' that will force the report
> to
>
> do both departments w/total).
>
> what have i got wrong?
>
> Greg
>
> --
> Message posted via AccessMonster.com
> http://www.accessmonster.com/Uwe/Forums.aspx/databases-ms-access/200511/1


.



Relevant Pages

  • Re: A simple Rave report - but only produces one page
    ... David wrote: ... so my data disappears off the bottom of the first page into ... Check the size of the report versus the size of the paper. ...
    (comp.lang.pascal.delphi.misc)
  • Re: two a5 forms on a4 paper?
    ... > relative to the underlying boiler plate text that makes up ... >>Doug Robbins - Word MVP ... >>> the upper and the lower copies of the report. ... >>> form and the next pupil's data in the bottom one. ...
    (microsoft.public.word.mailmerge.fields)
  • Re: Scotland is the least successful country in western Europe.
    ... The nation has come bottom in the Federation of Small Businesses' ... Scotland's poor health performance is the main drag on improving ... "lags the most" - including housing, education and physical and mental ... Looking at the individual components of the report, ...
    (soc.culture.scottish)
  • Re: Scotland is the least successful country in western Europe.
    ... The nation has come bottom in the Federation of Small Businesses' ... Scotland's poor health performance is the main drag on improving ... "lags the most" - including housing, education and physical and mental ... Looking at the individual components of the report, ...
    (soc.culture.scottish)
  • Re: Anybody used the National Bike Registry?
    ... but I believe the NBR is linked to the FBI operated ... > the bicycle was stolen. ... > marked on the bottom of one of the frame's tubes. ... report you should have made and the fact that the SER/ and/or OAN/ ...
    (alt.mountain-bike)