Thanks for the updated link. I have not seen that page before.
I just tried the Multiple Number Parameter method that Ken Hamady provided, as:
WhilePrintingRecords;
NumberVar Array Input := {?Route};
NumberVar howmany:= count (Input);
ToText(Input [1],0,'') +
if howmany > 1 then ', ' + ToText (Input [2],0,'') +
if howmany > 2 then ', ' + ToText (Input [3],0,'') +
if howmany > 3 then ', ' + ToText (Input [4],0,'') +
if howmany > 4 then ', ' + ToText (Input [5],0,'')
It worked perfectly! *sigh of relief*
Thanks so much for your help and the link. For now, I can start using it. When I have extra time I can dissect it and figure out why it works.
|