Showing results for 
Search instead for 
Did you mean: 

.Net Replacement for needsCurrentValue

Former Member
0 Kudos


We are migrating from old C++ code for CR9 to .Net version with CR13 version and looking for the replacement for needsCurrentValue. We could not find this and we are kind of stuck here as any other thing we use is not working. The old code checks for this flag and if the value is zero then we ignore the parameter and move on to next parameter before assigning the value. Please advice. Your help on this is greatly appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

Active Contributor
0 Kudos

You can look at ParameterField.HasCurrentValue property to determine whether a current value has been set for the parameter.

There is also a new (since Crystal 2008, I think) property of parameters where you can mark them as optional.  You would then check the ParameterField.IsOptionalPrompt property to determine whether a parameter is optional.


Answers (0)