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 csrtempAfter clicking this button on the 2nd try, I get the error alias name is already in use.