>Olá Ed
>The problem is, i populate my array with some fields of one table and some others with another table.
>For instance i create a array with 5 elements
>
>element1
You can populate cursor the same way as you populate array:
CREATE CURSOR mycursor (field1 I, field C(20)....)
Insert Into mycursor Values(table1.field2,table2.field3)
Insert Into mycursor ....
btw, if you more comfortable with array, then you can still create/populate one and then
Insert into mycursor From Array Myarray
Edward Pikman
Independent Consultant