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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help ! - Data Report

Status
Not open for further replies.

fazman

Programmer
Mar 22, 2001
6
AU
I'm trying to a print a Data Report from VB.
I'm passing a sql statement to the Data Envioronment at run time as below:

sql = "Select count(*) as tot_Count From table1 Where sold=1"

DataEnvironment1.Commands(2).CommandText = sql

My problem is how would i put tot_count to Data Report since it's not a table field to drag and drop as we nomally do?

Can some one out there please help?


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top