Hi all,
Maybe is late here :),
In form:dataenvironment a free table csantos.dbf exclusive=.F.
In form:load SET EXCLUSIVE OFF
When i run this code it gives me file in Use
lcAlias=LOWER(SYS(2015))
.Grid1.recordsource=''
.Grid1.ColumnCount=4
.Grid1.refresh()
.RS2DBF(.oRS0,lcAlias)
select (lcalias)
copy to csantos.dbf ---- ERROR HERE
Thanks
João Batista