>>Fred,
>>
>>Please bear with me, but I guess I don't know how to do this. Could you explain further on how I get the result of the secorder.prg to display in the field.
>>
>>Thanks for the help.
>>
>>Jim
>
>Put a "RETURN msection" at the bottom of your UDF. Now in your report expression, you put "secorder()" and size it as big as it needs to be.
Thanks Fred, it prints just fine now.
Jim