Thanks for the code Dragan. way more efficient and less lines of code than what I was planning!
>>Hi Thomas,
>>
>>There is no MNX file. Just a regular DBF that they use to generate the menus. The dbf doesn't have info that relates to what the POPUP names will be.
>
>Then your option is to
>
list memory to (lcFile)
>lcPopups=strextract(filetostr(lcFile), lcSomethingFromFirstLineMentioningPopups, lcSameFromLineAfterPopups)
>alines(aPops, lcPopups)
>and then parse array for popup names.