Results 1 to 2 of 2

Thread: Report printing

  1. #1
    Join Date
    May 2004
    Posts
    4

    Question Unanswered: Report printing

    Hello...

    I'am very new to perl. I have a table that has four fields. 1.Item Code, 2. Description, 3. Ord Date, 4. Qty. I wish to print a report that is grouped on the item . it would look something like this:

    --------------------------------------------
    Item Code | Description | Ord Date | Qty |
    --------------------------------------------
    A1 ABC 10-Jan-04 10
    A1 ABC 10-Jan-04 20
    A1 ABC 10-Jan-04 30

    --------------------------------------------
    Item Code | Description | Ord Date | Qty |
    --------------------------------------------
    B1 CTX 10-Feb-04 10
    B1 CTX 10-Feb-04 20
    B1 CTX 10-Feb-04 30

    Regards & Thx
    Safa Syed

  2. #2
    Join Date
    Jan 2004
    Location
    Germany
    Posts
    167
    It would be very helpful, if you could post some details. Which datastructure do you use for the data?

    Do you use an extra array for the elements of each item code? Or do you use one array for all elements? Or any other datatype?
    board.perl-community.de - The German Perl-Community

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •