Click here to Skip to main content
15,892,965 members
Home / Discussions / Database
   

Database

 
GeneralRe: Help with Joins Pin
Wendelius7-Oct-08 9:36
mentorWendelius7-Oct-08 9:36 
QuestionSQL Server settings Pin
topcatalpha7-Oct-08 3:44
topcatalpha7-Oct-08 3:44 
AnswerRe: SQL Server settings Pin
Ashfield7-Oct-08 3:59
Ashfield7-Oct-08 3:59 
GeneralRe: SQL Server settings Pin
topcatalpha7-Oct-08 4:03
topcatalpha7-Oct-08 4:03 
GeneralRe: SQL Server settings Pin
Ashfield7-Oct-08 4:58
Ashfield7-Oct-08 4:58 
QuestionCrystal reports 2005 Suppressing page headers when there is a subreport (in the report footer) Pin
Colwin6-Oct-08 20:21
Colwin6-Oct-08 20:21 
JokeRe: Crystal reports 2005 Suppressing page headers when there is a subreport (in the report footer) Pin
nelsonpaixao7-Oct-08 12:48
nelsonpaixao7-Oct-08 12:48 
AnswerRe: Crystal reports 2005 Suppressing page headers when there is a subreport (in the report footer) Pin
Frank Kerrigan8-Oct-08 4:09
Frank Kerrigan8-Oct-08 4:09 
Create a Formula and place it in a blank and suppressed section before your sub-report, force new page after this section as well

=== Formula SuppressHeader
<br />
WhilePrintingRecords;<br />
BooleanVar SupressStuff;<br />
SupressStuff:= true<br />




Create another Formula and place it after your sub report within a blank suppressed section

=== Formula SuppressHeaderNOT
<br />
WhilePrintingRecords;<br />
BooleanVar SupressStuff;<br />
SupressStuff:= false<br />


Create a Third Formula which will give the value SupressStuff to other formula (this sounds weird but bear with me). Place a copy of this in the report header as well.

== Formula SuppressStuffDisplay
<br />
WhilePrintingRecords;<br />
BooleanVar SupressStuff;<br />



Now in your Header and Footer Sections go into Section Expert and click the formula box at Suppress (No Drill-Down) and place the third formula in the

@SuppressStuffDisplay

or if you want to be fancy use this which does the same thing

<br />
if @SuppressStuffDisplay= true <br />
then<br />
     true<br />
else<br />
     false<br />



How this works; simple answer is flow control. Crystal runs from Top to Botton and runs in a flow. So it always does the stuff before it does the current stuff. Event fire as well like new page and page headers etc.. So before it gets to the subreport it set the value of SupressStuff to false which then suppressed any headers and footers. Then after the subreport it sets SupressStuff to true which allow headers and footers to be printed


easy eh ?

DEVELOPER DAY SCOTLAND 2009 Watch this space
http://www.developerdayscotland.com/[^]

AnswerTry forcing new page Pin
David Mujica20-Oct-08 10:05
David Mujica20-Oct-08 10:05 
QuestionPlace the result to the word Pin
irvinia6-Oct-08 17:48
irvinia6-Oct-08 17:48 
AnswerRe: Place the result to the word Pin
Paul Conrad6-Oct-08 18:40
professionalPaul Conrad6-Oct-08 18:40 
GeneralRe: Place the result to the word Pin
irvinia7-Oct-08 15:53
irvinia7-Oct-08 15:53 
GeneralRe: Place the result to the word Pin
Paul Conrad7-Oct-08 16:34
professionalPaul Conrad7-Oct-08 16:34 
QuestionCreating a View or Restructuring a View? Pin
srferson6-Oct-08 10:10
srferson6-Oct-08 10:10 
AnswerRe: Creating a View or Restructuring a View? Pin
Wendelius6-Oct-08 10:34
mentorWendelius6-Oct-08 10:34 
AnswerPIVOT query Pin
David Mujica6-Oct-08 10:47
David Mujica6-Oct-08 10:47 
QuestionHow to remove Identity(1,1) property only from column in table in sql server 2000 Pin
trilokharry6-Oct-08 5:05
trilokharry6-Oct-08 5:05 
AnswerRe: How to remove Identity(1,1) property only from column in table in sql server 2000 Pin
Wendelius6-Oct-08 6:59
mentorWendelius6-Oct-08 6:59 
GeneralRe: How to remove Identity(1,1) property only from column in table in sql server 2000 Pin
Frank Kerrigan8-Oct-08 4:10
Frank Kerrigan8-Oct-08 4:10 
GeneralRe: How to remove Identity(1,1) property only from column in table in sql server 2000 Pin
Wendelius8-Oct-08 4:23
mentorWendelius8-Oct-08 4:23 
GeneralRe: How to remove Identity(1,1) property only from column in table in sql server 2000 Pin
Frank Kerrigan8-Oct-08 6:15
Frank Kerrigan8-Oct-08 6:15 
GeneralRe: How to remove Identity(1,1) property only from column in table in sql server 2000 Pin
Wendelius8-Oct-08 6:51
mentorWendelius8-Oct-08 6:51 
GeneralDenormalisation Quandary Pin
Brady Kelly6-Oct-08 3:48
Brady Kelly6-Oct-08 3:48 
GeneralRe: Denormalisation Quandary Pin
Ashfield6-Oct-08 4:35
Ashfield6-Oct-08 4:35 
GeneralRe: Denormalisation Quandary Pin
Brady Kelly6-Oct-08 4:48
Brady Kelly6-Oct-08 4:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.