PRB: Where to Put EXTERNAL ARRAY in a FormID: Q126955 3.00 WINDOWS kbtool kbprb The information in this article applies to:
SYMPTOMSWhen you build a PROJECT or APPLICATION in Visual FoxPro, you may get a warning box that says 'Unable to find unknown <array name>.'
CAUSEOne cause of this error is an array being used in a screen or other program.
RESOLUTIONThis is only a compile time warning and will not prevent your application from building or executing correctly. To prevent this warning from appearing In Visual FoxPro, put the EXTERNAL ARRAY command in the Load Event of the Form or FORMSET with a #REGION 1 before anything else, as in this example:
This prevents the warning and allows you to continue building the
application.
NOTE: Make sure you issue a READ EVENTS command after the DO FORM command or you will get the error "Variable not found" when executing the form. Additional reference words: VFoxWin 3.00 KBCategory: kbtool kbprb KBSubcategory: FxtoolFormdes
|
Last Reviewed: May 1, 1996 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |