Results 1 to 2 of 2

Thread: DATA REPORT: grouping problem (redundant printing)

  1. #1

    Thread Starter
    Addicted Member jeanette_db's Avatar
    Join Date
    Oct 2005
    Location
    DC, Phil
    Posts
    215

    Unhappy DATA REPORT: grouping problem (redundant printing)

    i am creating a report wherein i need to group by "batches"..
    but when i viewed the Report, the same data are printed repeatedly.

    here's my code:
    VB Code:
    1. Set table_1 = New ADODB.Recordset
    2. table_1.CursorLocation = adUseClient
    3. table_1.Open "Shape {select btch_no from table_cdl} append ({select * from table_cdl} relate btch_no to btch_no) As ChildRecord", mycon1, adOpenStatic, adLockReadOnly, adCmdText
    4.         Set a10999a.DataSource = table_1
    5.         Set table_1.ActiveConnection = Nothing

    please help...

  2. #2

    Thread Starter
    Addicted Member jeanette_db's Avatar
    Join Date
    Oct 2005
    Location
    DC, Phil
    Posts
    215

    Re: DATA REPORT: grouping problem (redundant printing)

    here's the output:
    ----
    0001
    jack 1123
    jill 1124
    jake 1125

    0001
    jack 1123
    jill 1124
    jake 1125
    -----
    in the report, batch '0001' is supposed to be printed only once.. ='(
    but i got that result.. can anybody help me with this...
    i really need it... thanks in advance...

Posting Permissions

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



Click Here to Expand Forum to Full Width