>>>CREATE TABLE test (testfld c(10)) >>>USE >>>USE test ALIAS atest >>>SELECT * FROM atest INTO CURSOR test >>>>>
>Select * From stok,kodlar Where stok.kod=kodlar.stokkodu Into Cursor jstok Select stok >Use > >Select jstok >Dimension xxx(1) >Afields(xxx) > >Create Cursor stok From Array xxx >Append From Dbf("jstok") >I meant an easier one:) Using plain afields() to create a cursor with same structure is dangerous.
select * from customer into cursor xx nofilter use in 'customer' use dbf('xx') in 0 again alias 'customer' use in 'xx'Cetin