Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report Designer

Status
Not open for further replies.

rene316

Programmer
Jan 14, 2002
81
US
Hello,
I am finishing up a tracking program for my company, and at the last instant they requested to be able to print a report of the item being tracked. Everything I have researched says, to use report designer you have to create the project within the data enviroment. Is there a way around this or can you suggest a alternate method.

Thank you,
Rene
 
hi rene
i'm kinda new to datareport, but i've also been forced to learn it. from what i understand and what i've so far accomplished:

yes you need to atleast have a dataenvironment as the datasource and atleast 1 command as the datamember of the datareport.

that doesn't necessarily mean the you have to use it beyond those 2 properties.

this is fairly a versatile report designer (considering you don't pay additional for it), but it does have its limitations. crystal reports is better but in my case, cost-prohibitive.

hope this helps

wayne

 
You don't need a DataEnvironment for DataReport. Just generate the appropriate recordset in the usual way and then (using dr1 as name of your datareport and rst as your recordset):

Set dr1.DataSource = rst

Object browser gives you quite a good insight into the innards of DataEnvironment

BTW If you're using VB6 (I believe Pro upwards) there is a copy of Crystal (4.5 I think) on one of your installation disks

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'People who live in windowed environments shouldn't cast pointers.'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top