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

Crystal Report - Highlite a row , given a condition

Status
Not open for further replies.

Mais1

Programmer
Aug 23, 2005
2
CA
Hey ,
I have 2 Datagrids that I wanted to display on the report, I acheived this task by making 2 subreports and creating an extra Deatil section in my main report (in which I do the formating of the reports.)
Now I have to questions since I am new to Crystal Reports.

Q1) If I have a coloum (in my datagrid ) which has values '0' or '1', I can easily display this , but how do I go about highliting the rows which have a value '1'.

Q2) Since Subreports do not have a page header how can I display the header of my datagrids on every new page.

Thanks in advance to anyone who will reply and your help is most appreciated.


 
When you refer to a datagrid, are you referring to an inserted crosstab?

To create a page header within a subreport, create a formula that is true for all records, e.g.,

{table.ID} > 0

Then insert a group on this formula and check "repeat group header on each page". Then remove the group name.

-LB
 
Thanks for your info ,
By Datagrids I meant to say I have a tabel in
.Net which I bind it to instance of my report. Although I havn't tried the page header trick yet , but thanks a lot I will just look into it now . If u know anything about the highlite part plz let me know .



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top