Mario:
1) Remove the comma (,) after array1 as follows:
DO recsifm WITH 1,array1 TO lugarbagevar
2) I confused your call with a DO FORM call. The actual command is DO FORM ... TO (var) - sorry. Put the TO in the code where you DO the form. If you are actually doing a CREATEOBJECT() from a form class, create a form from that class first then DO the new form
Rgds
>Charles:
>
>I tried your example but it didn´n work
>
>When i use "DO recsifm WITH 1,array1, TO lugarbagevar", VFP send me a Sintaxis error.
>
>I had to convert my Form in a Formset, an use "DO FORM formset1 TO garbagevar"
>in the child program.
>
>
>How you see, i used your idea to find a solution...
>
>Thank you so much.
>Mario Morales
>*****
>
>I have been in Quebec, just once... It´s so beautiful.