Show band only if data exists
Hello world [img]style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" />!
I was wondering if anybody can help, it should not be very hard.
I have in FR, Header, GroupHeader, MasterData and Child, i want to show Child band only if data exists. Child band contains some kind of Note for the people, some people have notes other haven't, so I would like to print this band only if data exists. Please help...
Sorry if similar post already exists, but i havent found it... Tnx in advance.[/img]
Comments
Child.Visible := Length( Trim( dataField ) ) > 0;
technisoft, I'll try that first thing tomorrow morning on work, will let you know.
In code section procedures must go before main begin end. (end finishing with comma).
Field values are going in "", example <DataSetName."FieldName">
I posted also pictures to see..
Those are PASCAL rules: procedures are stored AFTER var section, and prior to BEGIN of the main program. Main program ends with a period ( . ), not a comma ( , ) - other stuff (commands) with a semicolon ( ; )
You can also use other programming languages...
Good luck with your work!
Sretno u daljem radu!