Using CRW 8.5.0.217
Hi want to display my parameter info in a report and took this formula off a post but am getting the follow error message:
"A number, currency amount, boolean, date, time, date-time, or string is required here."
And it points to this part of the code:
Parameter INFO:
Parameter name: {?Familia}
Value type: Number
Allow multiple values CHECKED
Discrete and Range Values CHECKED
The formula been used is the following.
[/code]Local NumberVar i := 1;
Local NumberVar loops := UBound({?Familia});
Local StringVar Display := "Selected: ";
For i := 1 to loops do
(
Display := Display & totext({?Familia},0,"" &" - " &
(if {?Familia} = 325 then "On Order"
else if {?Familia} = 326 then "In Stock" &
iif(i<loops, ", ", "."
);
Display;
[/code]
Hi want to display my parameter info in a report and took this formula off a post but am getting the follow error message:
"A number, currency amount, boolean, date, time, date-time, or string is required here."
And it points to this part of the code:
Code:
totext({?Familia}[i],0,"")
Parameter INFO:
Parameter name: {?Familia}
Value type: Number
Allow multiple values CHECKED
Discrete and Range Values CHECKED
The formula been used is the following.
[/code]Local NumberVar i := 1;
Local NumberVar loops := UBound({?Familia});
Local StringVar Display := "Selected: ";
For i := 1 to loops do
(
Display := Display & totext({?Familia},0,"" &" - " &
(if {?Familia} = 325 then "On Order"
else if {?Familia} = 326 then "In Stock" &
iif(i<loops, ", ", "."
);
Display;
[/code]