ENDFOR ON SELECTION POPUP (M.lcPopUpName) DO doftp WITH BAR(),PROMPT() <pre> >>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. >><pre> >>ON SELECTION BAR i OF &lcPopUpName DO doftp WITH BAR(),PROMPT() >>