number of copies

Hello everyone.
I have a report from which I read a dataset with a QTA field, I have to print the number of labels = QTA.
how can I do ?

Comments

  • gpigpi
    edited 6:43AM
    Add DetailData band to the report. Set DetailData.RowCount = 1 (this is necessary!)
    Set DetailData.RowCount := <MasterDataDataSet."Quantity"> MasterData1OnBeforePrint event.
    Place TfrxMemoViews with MasterData.Dataset fields on the DetailData band.
    Set MasterData.Height to 0
  • edited December 2018
    gpi wrote: »
    Add DetailData band to the report. Set DetailData.RowCount = 1 (this is necessary!)
    Set DetailData.RowCount := <MasterDataDataSet."Quantity"> MasterData1OnBeforePrint event.
    Place TfrxMemoViews with MasterData.Dataset fields on the DetailData band.
    Set MasterData.Height to 0

    sorry. can you tell me the exact syntax I can not


    in my case: DetailData1.RowCount:= MasterData1.DataSet."ETIQTA"


    so it gives me error


  • edited 6:43AM
    Hello,

    it should be like DetailData1.RowCount:= <MasterData1.DataSet."ETIQTA">

    Regards.
    Add DetailData band to the report. Set DetailData.RowCount = 1 (this is necessary!)
    Set DetailData.RowCount := <MasterDataDataSet."Quantity"> MasterData1OnBeforePrint event.
    Place TfrxMemoViews with MasterData.Dataset fields on the DetailData band.
    Set MasterData.Height to 0

    sorry. can you tell me the exact syntax I can not


    in my case: DetailData1.RowCount:= MasterData1.DataSet."ETIQTA"


    so it gives me error
  • edited 6:43AM

    so it gives me error:
    DetailData1.RowCount:= STrToInt(<MasterData1.Dataset."ETIQTA">);

    attached error

    boakoms wrote: »
    Hello,

    it should be like DetailData1.RowCount:= <MasterData1.DataSet."ETIQTA">

    Regards.
    boakoms wrote: »
    boakoms wrote: »
    Add DetailData band to the report. Set DetailData.RowCount = 1 (this is necessary!)
    Set DetailData.RowCount := <MasterDataDataSet."Quantity"> MasterData1OnBeforePrint event.
    Place TfrxMemoViews with MasterData.Dataset fields on the DetailData band.
    Set MasterData.Height to 0

    sorry. can you tell me the exact syntax I can not


    in my case: DetailData1.RowCount:= MasterData1.DataSet."ETIQTA"


    so it gives me error
  • edited 6:43AM
    Hello,

    i just correct your syntax, dont know the reason why type mismatch.

    Regards.
    so it gives me error:
    DetailData1.RowCount:= STrToInt(<MasterData1.Dataset."ETIQTA">);

    attached error

    Hello,

    it should be like DetailData1.RowCount:= <MasterData1.DataSet."ETIQTA">

    Regards.
    Add DetailData band to the report. Set DetailData.RowCount = 1 (this is necessary!)
    Set DetailData.RowCount := <MasterDataDataSet."Quantity"> MasterData1OnBeforePrint event.
    Place TfrxMemoViews with MasterData.Dataset fields on the DetailData band.
    Set MasterData.Height to 0

    sorry. can you tell me the exact syntax I can not


    in my case: DetailData1.RowCount:= MasterData1.DataSet."ETIQTA"


    so it gives me error

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.