>Hi All,
>
>I create arrays in a program that calls a form. But in Got Focus method, these arrays can't be recognized. Even if I declared them as PUBLIC arrays.
>
>Anybody can help me ?
>
Make your form modal, or create your arrays somewhere in the start of the app. This way the arrays probably exist when you instantiate the form, but in the meantime the calling routine exits and its variables are gone. If your form is modal, the calling routine will wait until the form exits, and the routine's variables will be visible.
You may try another approach - to store the arrays into cursors, and keep these cursors open while your form runs, and rebuild your arrays (but make them array properties of your form) in the form's .init; that would require a major rewrite of your form, at least the parts where you use these arrays.