Google Answers Logo
View Question
 
Q: Ado Data shape in a VB6 project ( No Answer,   1 Comment )
Question  
Subject: Ado Data shape in a VB6 project
Category: Computers > Programming
Asked by: whirlweb-ga
List Price: $10.00
Posted: 27 Mar 2004 14:32 PST
Expires: 30 Mar 2004 02:01 PST
Question ID: 321159
ADO data shape

Hi,


PPPPPlease HElllllp.

I am currently building a vb golf score analyser in VB6 I decided to
use data reports instead of crystal. Everything was going fine until I
wanted to group my report via division
I use ADO to send the sql to the data report which is working fine.
What I cant do Is change the sql line below to a data shape that
groups all records into divisions. I have a division field which can
be division1, division2 etc. The sql line that works is:

Select * from score where strdate between #27-Mar-03# and #28-Mar-04# order by net 

I need to group the above by division in the report to display like eg

division1
          Joe Bloggs            71
          Pete Smith            76
          Roger Rabitt          82

Division2
           Graham Blimey       76
            Peter pan               82
           Jimmey decricket    86

Division3
           Father Christmas       81
           Layton Buzzard         84
           Joe Pascwaley          91

Thanks in advance
Answer  
There is no answer at this time.

Comments  
Subject: Re: Ado Data shape in a VB6 project
From: gurumsd-ga on 29 Mar 2004 20:49 PST
 
did you try adding a 'group by' clause? for example:

Select * from score where strdate between #27-Mar-03# and #28-Mar-04#
group by division order by net

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy