Solved

How to display the data to the data report where the data is after certain process, but not directly from database???

Posted on 2002-04-02
3
143 Views
Last Modified: 2010-05-02
I need to display the data to data report after certain process, I retrieve the recordset base on a sql query, but from the retrieved recordset, i need to find out the number of occurence of certain field's data, like name, so how to display data after all these process??

can anyone tell me???
0
Comment
Question by:jescho
  • 2
3 Comments
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 6915377
Post a sample of your recordset and the output desired. Do you want to display the output using MS Data Report?

Anthony
0
 

Author Comment

by:jescho
ID: 6916866
for example, the recordset contain :
Name       Subject
AAA         English
AAA         Chinese
BBB         English
BBB         Chinese
BBB         Math

my desired output in the report base on the above example will be :
Name        No Of Course Study
AAA          2
BBB          3

however, if i bound the report textbox control to the name field, it will display all the record name available in the database table. so do you know how??? the report that i use is the data report in VB, i dont know is that MS report..cos i am new to data report and those reference didnt teach much on report.
0
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 100 total points
ID: 6919762
Bind the Data Report to the following SQL statement:

Select Name,
       Count(*) As CourseCount
From Table1
Group by Name

Also, take a look at the EE Guidelines (http://www.experts-exchange.com/jsp/cmtyQuestAnswer.jsp) regarding grading questions. A "B" grade may be the default, but it is by no means the only one available.

Anthony
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question