<copyname#> variable ?

jezabeljezabel Angers, France
edited 5:44AM in FastReport 4.0
What is the <copyname#> variable for ?
It seems to be Null ?
Thanks

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 5:44AM
    it will be until given a value.
    see the main demo
    whats new
    print copy names report.
  • edited 5:44AM
    gordk wrote: »
    it will be until given a value.
    see the main demo
    whats new
    print copy names report.


    Dear Sir,

    how to use [CopyName#] variable in my report
    if you have any solution then
    plz send me a demo report of this

    thanx

    Regards,
    Manoj Kogata


  • gordkgordk St.Catherines On. Canada.
    edited 5:44AM
    see my reply to your other posting.
  • gpigpi
    edited 5:44AM
    manoj_kogata
    Try in Delphi's code
    frxGlobalVariables['CopyName0'] := '';             // copy viewed in the preview
    frxGlobalVariables['CopyName1'] := 'First copy';   // 1st printed/exported copy
    frxGlobalVariables['CopyName2'] := 'Second copy';  // 2nd printed copy
    frxGlobalVariables['CopyName3'] := 'Third copy';   // 3rd printed copy
    frxReport1.ShowReport;
    
  • edited August 2013
    I take it using the <CopyName#> variable only works if the user clicks the print button from the preview multiple times?

    It has no effect if they set the number of copies to print on the printer itself?
  • edited April 2014
    Hi. I look at sample report from MainDemo (103.fr3)
    and this code
    begin
      frxGlobalVariables['CopyName0'] := '!!!';             // copy viewed in the preview
      frxGlobalVariables['CopyName1'] := 'First copy';   // 1st printed/exported copy
      frxGlobalVariables['CopyName2'] := 'Second copy';  // 2nd printed copy
      frxGlobalVariables['CopyName3'] := 'Third copy';   // 3rd printed copy
    end.
    
    works fine. But only on Standart Report.

    Then i create Dot-Matrix Report and do same.

    Actual result:
    i get <CopyName#> = frxGlobalVariables on each page (in my case its '!!!').

    Expected result:
    'First copy' - for 1 page
    'Second copy' - for 2 page and so on.

    Maybe i have to do some additional action?

    PS. I use FastReport 4.3 and 4.15, have same results.

Leave a Comment