IF...THEN

edited 11:35PM 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 11:35PM
    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

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.