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

RAP

edited August 2002 in General
hi,

how can i see my form parent with RAP ???

self. ?????



Pascal

Comments

  • edited August 2002
    Hi Pascal,

    what form do you mean?
    From a reports view there is no parent form.

    From Delphi's view report.Owner could be the one, if you placed your report
    on a 'TForm'.
    Create a pass-through function to access this form .

    HTH,
    Chris Ueberall;

  • edited August 2002
    yes,

    i use delphi and my 'Form' is parent of my 'Report'.

    Pascal

    "Chris Ueberall [TeamDM]" a ?crit dans le message
  • edited August 2002
    Pascal,

    is your problem solved?
    If not, what do you want to achieve?

    regards,
    Chris Ueberall;

  • edited August 2002
    i want to do this :

    in my report with RAP

    for example :

    beforegenerate
    begin
    mypplabel.caption := myreport.parent.myfrmlabel.caption;
    end;

    // ' myreport.parent' but parent doesn't work ... but my report is in
    my form.....

    because i've to translate my appli and if i can do that i've just to
    translate screens...

    thank's for your help

    (excuse my english is so poor...)

    Pascal


    "Chris Ueberall [TeamDM]" a ?crit dans le message
    news: 3d6deccb$1@dm500....
    message
  • edited August 2002
    Pascal,

    once again, create a RAP pass-through function and pass myReport.Owner as
    parameter.
    (TppReport has no 'Parent' because it isn't a window, what you see is the
    previewer or the designer window displaying the report layout).

    HTH,
    CHris Ueberall;

  • edited August 2002
    ok l try to do that...

    "Chris Ueberall [TeamDM]" a ?crit dans le message
This discussion has been closed.