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

SQL command result won't display in report

Status
Not open for further replies.

TomBoardman

Programmer
Aug 25, 2006
26
US
Using CR XI, I have a SQL command defined using the Database expert. The SQL command is simply,

Select Sum(Column1) As TotalA FROM Mytable WHERE Column2='A'

When I browse the SQL result within the Links tab, the result is correct. But when place TotalA into the page header section, the field is blank during print preview. I've confirmed that 'Suppress if 0' is off. Any suggestions for my problem?
 
Not sure what you mean here "When I browse the SQL result within the Links tab". Are you doing this within Crystal Reports? I recreated your command and it worked for me.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top