Cy
Sat Mar 31 19:32:57 CDT 2007
In addition, VFP9 SP2 is as far as I know, not yet released. The
product that can be downloaded is a CTP which is a Community Technology
Preview, meaning it's something to look at to get an idea of what the
final release may look like, but is not intended for use in an actual
development environment.
Cy Welch
Senior Programmer
MetSYS Inc
http://www.metsysinc.com
Bernhard Sander wrote:
> Hi Jim
>
>> I have a program system with a main program that calls lots of forms.
>> In the main program I define an array gaAccess as public
>>
>> In some of the forms I reference the array in the refresh method of
>> some of the buttons.
>>
>> external array gaAccess
>> this.enabled = gaAccess[2] != 'R'
>>
>> I have also put the external array command in the load event.
>>
>> when I build the project I am still getting the undefined error and
>> would like to clean them up. What am I doing wrong????
>
> First of all: the warning is a warning only from the project manager. At
> runtime, your program will work without any problems.
>
> To advice the project manager, put EXTERNAL ARRAY gaAccess in _every_
> method and program, that uses this array. It has no effect at all if you
> put this command in other methods.
> If it does not help, then you may add these 3 lines to every method that
> uses the array:
> IF .F.
> DIMENSION gaAccess(1)
> ENDIF
> Put it anywhere in the method, it can also be after a final RETURN.
> Since it is only a hint for the project manager, the DIMENSION line
> should be placed so that it does not affect at run time.
>
> Regards
> Bernhard Sander