Assume your report accepts into a multi-value parameter called {?Customer_List} several customer numbers. The report should show the customers in the order they were entered into the parameter.
Sort the report on the following formula, which computes for each Customer Code its position in the parameter value list:
------------------------------------------------------[ignore]
NumberVar i ;
NumberVar N ;
FOR i := 1 TO UBound({?Customer_List}) DO
(
IF {Customer.Customer ID} = {?Customer_List} THEN
(
N := i;
Exit For ;
)
);
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.