Hi!
Reference array elements using [] (square brackets) instead of (). Many companies took this as a standard for arrays in the VFP code (and reports, of course), because () is often mixed with functions (specially for C++ programmers that use VFP).
Also, you can try to put EXTRENAL ARRAY command in the initializing events in the report data environment, but I don;t know if it will help.
>How can I prevent that the project manager says he can't find a function used in a report, which is actually an array defined before running the report ?
>
>EXTERNAL ARRAY myarray ?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.