cancel
Showing results for 
Search instead for 
Did you mean: 

How to set parameter order in Visual Studio 2010 (via designer)

Former Member
0 Kudos

How do I set the order of the parameters using visual studio 2010 designer?  My only choice is "New".

Currently using CR 13.0.7.

Thanks,

Stephan

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Hi Stephen,

CR Designer built into the VS IDE is CR Basic, meaning it has limited functionality as compared to the full standalone Crystal Report Designer that has the UI below.

If you want that ability you can create your own parameter UI and reorder them any way you want.

Or get CR Designer 2011 and then you can alter the order within the Designer.

So using RAS you can get the list of Parameters and the order saved in the report:

// this line gets the parameter name by index

rptClientDoc.DataDefController.DataDefinition.ParameterFields[x].LongName.ToString();

Where "x" is the number to the count.

No option to use CR's order screen so you would have to write your own and handle the ordering and value population yourself:

Hope that helps.

Don

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks for getting back to me Don.  Makes sense.  I'll move ahead with creating my own as suggested. 

Cheers