Solved

Data report and Data environment

Posted on 2002-05-02
7
119 Views
Last Modified: 2010-05-02
I would like to know how ot use those two items i mentioned up there. Currently i m doing a database on student's registration. i would like to know how do i put one student's results into report using vb, i m told that use data report can solve my problem, but i m not sure how to go about with it. how do know which report to print or which data to load. i hope there is help provided asap.
0
Comment
Question by:zuskidding
  • 4
  • 3
7 Comments
 
LVL 18

Expert Comment

by:bobbit31
ID: 6987811
under projects click on more activex designers/data environment

set up your data environment (ie. connection to db, which table etc... it's a wizard, i think you can figure it out)

after your data environment is set up... click on projects/add data report

if you open your data environment (dbl click on it) you should be able to see the fields from your table... drag them onto the data report

hope this helps
0
 

Author Comment

by:zuskidding
ID: 6987863
well, i think i have done that already. i just need help on the coding part, especially on sql queries, how do i put codes into data report, i haven done that before, what coding do i need to learn
0
 
LVL 18

Expert Comment

by:bobbit31
ID: 6988506
can you give more details on what you are trying to do?

do you want to pass parameters from vb to your data environment so you can do something like:

Select * from tblYourTable where ID = ?

and then be able to pass ID to the query in the data environment?

0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:zuskidding
ID: 6995939
well, i figured it out to put those data in the data report with some help from my friends and also from 'help'.
thanks a lot
0
 

Author Comment

by:zuskidding
ID: 6995941
i figured it out already wwith some help form my friends. thanks a lot
0
 
LVL 18

Accepted Solution

by:
bobbit31 earned 50 total points
ID: 6997944
no problem... my suggestion as to this thread is to either accept my comment as answer or to go to community support and request that this question be deleted. If you do accept my answer, please give me an 'A'... otherwise just go to community support and request the delete.  thanks!

p.s. Glad you got it working!
0
 
LVL 18

Expert Comment

by:bobbit31
ID: 7008598
you welcome, glad you got it working!
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

762 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now