Can you rename a Parameter in Crystal Reports Developer when the parameter is passed from a Stored Procedure

I have a series of reports that I have inherited with problems. One of the things I have been doing is renaming the Parameters in Crystal Reports Developer. The Parameters are coming from Microsoft SQL Server and I am going into Crystal Reports and renaming them.

Reasons are obvious.....SQL Server has the parameter as @DBInclude......I thougt it would be better if it said Company Databases. Makes more sense to the users when seen.

Is it okay to do that or not.....any potential pitfalls there that might come back and bite me..?
ruavol2Tableau Trainer & Consultant Sales Exec.Asked:
Who is Participating?
mlmccConnect With a Mentor Commented:
So long as it works, I think it is ok.

I do the same thing for parameters when the report is based on a universe query since the names are meaningless.  I give them a meaningful name so you know which parameter is which.  This is particularly important if the report is linked to from another report.

If you do a verify database after renaming a parameter, do the names revert to the database/stored procedure name?
If they do is that an impact on any formulas that might use the parameter or does the formula update to use the original name?

vastoConnect With a Mentor Commented:
The name of the parameter matters just for the developers. It is a good practice to keep it the same as the name in the stored procedure , otherwise there might be a confusion.

For the users you may change the "Prompt text" of the parameter.
ruavol2Tableau Trainer & Consultant Sales Exec.Author Commented:
Seems to be okay.....just making sure. Thank you
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.