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

Identifying where parameters are being used

Status
Not open for further replies.

HarryPotter1

IS-IT--Management
Jun 20, 2003
13
US
I am using Crystal Reports 10.0.

When I started developing a report, I created a parameter that I don't want to use anymore. I believe that I have removed it from all formulas in the report, however from the field explorer it still has a green check next to it and I cannot delete it becuase it is being used. Is there are way to find out where the parameter is being used?

Thanks.
 
One place to look is the suppression formula of sections - I've just had that problem. It can also be the suppression formula for a field.

I've also had a field remain marked as 'in use' when I had commented out code but not removed it.

Failing this, you could try setting it to some value that will be wrong. Run the report and it will stop wherever the parameter is being used.

[yinyang] Madawc Williams (East Anglia, UK). Using Windows XP & Crystal 10 [yinyang]
 
Try changing the datatype of the parameter--that should cause any formulas that use it to fail and show you where the parameter is being used.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top