Thanks, that worked, strange in that documentation does not show how to do it. I will do work in program DOFTP.
>Claude,
>
>The i and lcCxfer variables aren't evaluated within the ON SELECTION command until the user selects the bar from the menu. What you can do instead is pass the BAR() and PROMPT() values to the doftp method instead.
>
>ON SELECTION BAR i OF &lcPopUpName DO doftp WITH BAR(),PROMPT()
>