>I create the array in form/method
>I call that method in form/command button.
>The last line of the command button is
report form myreport preview
>Any way, vfp recognize the array in the firsr variable.
>
>>Did you create the variable outside the init ?
>>
>>private atitles
>>Dimension aTitles[1]
>>Do Repo ....
>>
>>HTH
>>
>>thomas
Chaim,
"I create the array in form/method
I call that method in form/command button.
The last line of the command button is"
You create that in a method of form and it goes out of scope when method ends and continues on last line of report. This would work just fine (I don't understand why you're using "Private" which IMHO has no place in VFP anymore):
local array aTitles[1]
report form ...
Cetin