IF...THEN

edited 3:03AM in FreeReport
Hi!

Does anyone know how to make something like

if TOTALPAGES > 1 then Pagefooter1.visible = FALSE

and where to put it? in deplhi or in report?

I have tried to put this in a memo, [IFF([TOTALPAGES] > 1,'PAGEFOOTER1.VIBLE=0')]
but it does not work.

Any help?

Comments

  • edited 3:03AM
    I have found out of this

    This is working: [if([PAGE#] < [TOTALPAGES], 'Ok', 'Not Ok')]

    It will show either 'Ok' or 'Not Ok'

    But this is not working: [if([PAGE#] < [TOTALPAGES], DATAFIELD, 'Not Ok')]
    It will not show the datafield?

  • edited December 2011
    Are we still waiting for this? Is the answer on another thread?

    Chris
    _______________

Leave a Comment