Dynamic Label Printing

I need to design a label report, which read data from detail line and two parameters determine how many copy of label will be print out.
e.g. [qty 10000] [label qty 500] then 10000/500, 20's label will be print out
Also each page only can print six label - portrait

I know this should use program code to control, but I have no any idea anyone can help!


Comments

  • gordkgordk St.Catherines On. Canada.
    edited 10:26AM
    go to the fast report binaries newsgroup.
    see the topic self contained label report posted by me on 11/8/2006
  • edited 10:26AM
    Firstly Thank you for your help!! Dear gordk

    I use manual built event to slove my problem the following is my code:
    //<PQTY>=QTY/LABEL_QTY set in report-->variables

    procedure Page1OnManualBuild(Sender: TfrxComponent);
    var
    x : integer;
    DataSet : TfrxDataSet;
    begin
    DataSet := MasterData1.DataSet;
    DataSet.First;
    while not DataSet.Eof do
    BEGIN
    CopyCnt:=<PQTY>;
    for x := 1 to CopyCnt do
    begin
    Engine.ShowBand(MasterData1);
    END;
    DataSet.Next;
    end;
    end;


    begin
    // Main Program
    // initialize vars
    CopyCnt := 1;
    end.

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.