Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Data environment reports

Posted on 2002-06-18
3
Medium Priority
?
169 Views
Last Modified: 2010-05-02
Can anybody tell me how to use a data environment reports in VB.
Please give me a little elaborate example if possible.

let me give you this case.

i have to show a report. data is stored in a table in access. i have to fetch this data through a select *...query and show it in the report.

Regards
Seito
0
Comment
Question by:seito
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Accepted Solution

by:
unni_bcanti earned 600 total points
ID: 7091900
0
 
LVL 1

Expert Comment

by:Mahdi Mansour
ID: 7094913
first: u havt to add dataEnvironment from the menu->Project->more activex designers->dataenvironment

a new window will open ,go to the connection propertes
select provider: microsoft jet 4.0 ....... "for access db"
press next and then enter ur db name "with the path "
press ok.

then right click on the connection1->add command1
right click on command1:
source of data:Table
objectName: here u choose the name of ur table that u want to show in ur report
then from Menu->project->Add Data Report
from propertes of the data report :
data source: DataEnvironment1
DataMember: Command1

then go to the coomand1 and grad it and drop it in the data report.

now to show ur report from let say a coomandbutton on aform

dataenvironment1.command1
datareport1.show
dataenvironment1.rscommand1.close

0
 

Author Comment

by:seito
ID: 7110080
Thanks

Seito
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

609 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