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

Conditional Report Header

Status
Not open for further replies.

AdamRicko

Technical User
Feb 19, 2009
97
GB
Hi All,

I am trying to conditionally show a title (Taste Guide) conditionally if the taste guide field is not null on that particular page. i have tried adapting a variable count i got in a previous post.

Here is what im doing currently.


Page Header - @Taste guide text

whileprintingrecords;
IF numbervar y >= 1 then "Taste Guide" else " "

Count (Detail) - @Taste guide count

Whileprintingrecords;
numbervar y;

if {FRL_LIVE_Item.Var3} <> ""
then y:=y+1

Page Reset(footer) - @TT Footer reset - taste count

whileprintingrecords;
numbervar Y:=0


I beleive this is something to do with @Taste guide text being in the header.

I am already using a very similar system for a Footer on the same report, please see if you beleive it could be conflicting.

Any help on this matter would be greatly appreciated.

AR



CR2008 - SQL server 2005

New CR User
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top