hi, i have a problem now with RB 6.02 with previous version it's work ok. the problem is on event: OnPrint I make a statement DbText1.Visible := Details['CustNo'] <> Null; Can somebody help me?
hi sorry, seems like my question not clear enough that may be because my english.
So the question is can I keep a statement like Procedure DBText1OnPrint; Begin DBText1.Visible := Details['CustNo'] <> Null; End; in Rb 6.02 Am I have to changed my statement in all report? Because I need statement like this to disable DBText1 from show off, if data in Details['CustNo'] is empty/null If I have to change my statement so like what?? All my statement on RAP
you must have some problems in understanding my request. Anyway, when having a problem in RAP then you should use the RAP group for that issue. I would use ReportBuilder version 6.03.
the test for 'NULL' looks like this :
myComponent.Visible := not myPipeline.FieldObjects['myFieldName'].IsNull;
Comments
and what is your problem?
regards,
Chris Ueberall;
or I must change all my code??
because I have many report (*.rtm) like that.
Thanks for help.
once again, I would like to know what your problem is!
Can't you compile your project or are there error messages while printing or
...?
regards,
Chris Ueberall;
english.
So the question is can I keep a statement like
Procedure DBText1OnPrint;
Begin
DBText1.Visible := Details['CustNo'] <> Null;
End;
in Rb 6.02
Am I have to changed my statement in all report?
Because I need statement like this to disable DBText1 from show off, if data
in Details['CustNo'] is empty/null
If I have to change my statement so like what??
All my statement on RAP
work
you must have some problems in understanding my request.
Anyway, when having a problem in RAP then you should use the RAP group for
that issue.
I would use ReportBuilder version 6.03.
the test for 'NULL' looks like this :
myComponent.Visible := not myPipeline.FieldObjects['myFieldName'].IsNull;
HTH,
Chris Ueberall;