>It is selecting a workarea. I pass the cursor name in via a parameter, then select the cursor.
>
>I have also tried saving to a variable first, and had the same problem.
Are you possibly using a private datasession? If so, the cursor is not in the current datasession, and so is not accessible.