PRB: "Unrecognized Phrase/Keyword in Command"; @ ... GET-PopupID: Q105285 2.50 2.50a | 2.00 2.50 2.50a | 2.60a
The information in this article applies to:
SYMPTOMSThe error message "Unrecognized phrase/keyword in command" occurs on an @ ... GET-Popup command during compilation of a generated screen code file (.SPR).
CAUSEThe @ ... GET-Popup command has a PICTURE clause that exceeded the 255-character limitation for a character string used with a command. The PICTURE clause contains the caret (^) popup-specification code and the popup options. For example:
RESOLUTIONTo prevent this error from occurring, do the following in the Screen Builder: 1. In the Setup code, store all the popup options in an array. 2. In FoxPro for Windows, select the Popup tool and create a popup. In Unlike the List Popup option, the Array Popup option does not have any
character-string limitation. The size of the array is limited only by
available memory.
To use an Array Popup instead, use the following steps: 1. Dimension an array in either the Screen Setup or On Window Activate 2. Select Layout from the Screen menu, and select Code.
3. Select Screen Setup Code or On Window Activate. 4. Type appropriate code to define and name the array, such as the KBSubcategory: FxtoolSbuilder
Additional reference words: FoxDos FoxWin FoxMac 2.00 2.50 2.50a errmsg err
msg
|
|
Last Reviewed: May 22, 1998 © 1999 Microsoft Corporation. All rights reserved. Terms of Use. |