[ROOT] --> C++Client
This structure contains information about parameters.
CurrentValue
CurrentValueSet
DefaultValue
DefaultValueSet
Name
needsCurrentValue
Prompt
ReportName
StructSize
ValueType
WORD StructSize
Specifies the size of the PEParameterFieldInfo structure. You must
initialize this member to the size of whatever it is.
For example,
info.StructSize = PE_SIZEOF_PARAMETER_FIELD_INFO.
WORD ValueType
Specifies the data type of the parameter field. The Crystal Report Engine supports the following data types: number, currency, Boolean, date, and string. Use the appropriate constant from the list below.
WORD DefaultValueSet
Indicates whether or not a default value was set for the parameter field. The value can be either TRUE (1) if the field was given a default value or FALSE (0) if it was not.
WORD CurrentValueSet
Indicates whether or not a current value was set for the parameter field. A current value can be set through SetNthParameterField or by a prompting dialog box if the report has saved data.
char Name [ PE_PF_NAME_LEN ]
Specifies the name of the parameter field assigned by the user when the parameter was inserted into the report or the name that was set from code.
char Prompt [ PE_PF_PROMPT_LEN ]
Specifies the prompting text, if any, that appears in the prompting dialog box. This will be either the prompt assigned by the user when the parameter field was inserted into the report or the prompt that was set from code.
char DefaultValue [ PE_PF_VALUE_LEN ]
Specifies the default value assigned to the parameter field if one was set. If the DefaultValueSet member is false, this value is meaningless.
char CurrentValue [ PE_PF_VALUE_LEN ]
Specifies the current value assigned to the parameter field. If CurrentValueSet is False, this value is meaningless. To discard the current value, refresh data.
char ReportName [ PE_PF_REPORT_NAME_LEN ]
The name of the report this parameter field applies to.
WORD needsCurrentValue
TRUE (1) if a current value is required. FALSE (0) if a current value has already been supplied for the parameter field.