Hello,
I was trying to create a cursor from an array and it was usuccessful:
create cursor cPrint (slip n(7) null)
append from array('orderArray')
If my array orderArray has, for example 5 items, created cursor always has only one record, and it is the first item of the array.
I have tried to run something like:
for i=1 to alen(orderArray)
append from array orderArray(i)
endfor
but the first item is just repeated ALEN(arrayOreder) times !?
Please help.
Thanks.
Mensud
I was trying to create a cursor from an array and it was usuccessful:
create cursor cPrint (slip n(7) null)
append from array('orderArray')
If my array orderArray has, for example 5 items, created cursor always has only one record, and it is the first item of the array.
I have tried to run something like:
for i=1 to alen(orderArray)
append from array orderArray(i)
endfor
but the first item is just repeated ALEN(arrayOreder) times !?
Please help.
Thanks.
Mensud