dcsimg


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Printing a Report with VB6

  1. #1
    Join Date
    Jul 2004
    Posts
    366

    Question Printing a Report with VB6

    Hello All,

    I have a listbox that has values the user can sort on. I'm grabbing the first three values to use for Totaling. For Example (ProdID, Product, Date)

    Then I'm loop through a recordset that has the data to be reported.

    My Question:

    How do I loop through this reocordset and grab each value above and total each of them? Each time the value above changes it put a total line.

    Is there an easy way to do this?

    I can get one value to work but not more than that at the same time.

    Any help would be great!!!

    Thanks..

    Jim

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    How do you "total" a ProdID, Product and Date? None of them sound like numeric values.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. crystal report in vb6
    By shuvo in forum VB Classic
    Replies: 3
    Last Post: 09-11-2005, 01:52 AM
  2. Printing a Crystal report from VB
    By Esther Honig in forum .NET
    Replies: 1
    Last Post: 06-17-2002, 02:05 PM
  3. Replies: 2
    Last Post: 06-08-2002, 11:30 AM
  4. Replies: 0
    Last Post: 08-11-2001, 03:18 AM
  5. Data Report in VB6
    By Mike in forum VB Classic
    Replies: 0
    Last Post: 03-30-2000, 03:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center