>I have a quirky issue.
>
>Have a Form where I'm attempting to remove a cursor from the Data Environment. After selecting the cursor in the Properties Window, I can't find the cursor in the Visual Designer as there are over 100 cursors on the form.
>
>Any way to remove the Cursor outside of the Designer?
I tried to do it using aSelobj() but the reference to a form doesn't have any property relating to the DE... but then messing around it I found that it can, if 2nd parameter is 2. So, open the form in the designer, then in command window do
aSelobj(aEd,2)
oRef=aEd[1]
and then iterate through your cursors until you find the one which has your alias. Assuming it's cursor43:
lcName=oref.Cursor43.name
oRef.removeobject(lcName)
Then save the form.
Backup first.