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

Set multiple values to a parameter

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Using the automation server (Cpeaut32.dll), how can I
assign multipl values to a parameter? None of the
methods of ParameterFieldDefinition object seems
to do that. I know "ParameterFieldDefinition" in
Craxdrt.dll has such methods, but I am experiencing some
problems with Craxdrt.
Thanks.
 
for (i=0;i<=(par->size()-1);i++){
pIParameterFieldDefinition->AddCurrentValue(vJob);
}

You say that you have problems with the ParameterFieldDefinition, but this works for me. Sorry if you are looking for a solution other than this. You can just call AddCurrentValue for every value you want to pass to the parameter.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top