>I have this code in a command button:
>
>
>select ckey as 'csrkey', rch as 'ch', space(60) as 'locfle', space(60) as 'empname', space(60) as 'pos' from treeview ;
> into cursor csrtemp where alltrim(ckey)==nodeptr.key
>
>use (dbf([csrtemp])) again in 0 alias csrtable
>select csrtable
>use in csrtemp
>
>
>After clicking this button on the 2nd try, I get the error alias name is already in use.
>
>How can I resolve this?
Which line causes the error? And you erally should upgrade, with VFP9 you don't have to use this workaround.