Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Please help, update make trouble!

edited July 2002 in General
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?

Thanks for anyhelp!

Comments

  • edited July 2002
    Hi Iwan,

    and what is your problem?

    regards,
    Chris Ueberall;

  • edited July 2002
    Can I keep my statement with RB 6.02?
    or I must change all my code??
    because I have many report (*.rtm) like that.

    Thanks for help.

  • edited July 2002
    Iwan,

    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;

  • edited July 2002
    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


    work


  • edited July 2002
    Hi Iwan,

    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;

This discussion has been closed.