<copyname#> variable ?

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

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 5:49AM
    it will be until given a value.
    see the main demo
    whats new
    print copy names report.
  • edited 5:49AM
    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:49AM
    see my reply to your other posting.
  • gpigpi
    edited 5:49AM
    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

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.