>Hi,
>
>in my reports I use some fields with variables (arrays), generated in the main program. To avoid the compile-errors (Unknown variables/arrays in report xyz), I use the "External Array xyz..."-Statement in the Init-Section of this report-environment. This works well with VFP 3.0, but not with VFP 5.0 (this error-messages appears, although there is this "External Array"-Statement).
>
>Any ideas?
>
Well, not exactly a solution to the problem at hand, but I would consider a public initiation of one main
custom object in your main program, which contains all the arrays, variables and such. With that, there will be no need for any public og external definitions, and no errors. Works wonders in my case.
Bis dan
Danijel