PRB: Commands in dBASE Format File Ignored During BROWSELast reviewed: June 28, 1995Article ID: Q112471 |
The information in this article applies to:
SYMPTOMSFoxPro version 2.6 ignores some commands in a dBASE IV created format file if a BROWSE FORMAT command is issued. NOTE: The extra commands in a format file are ignored only during a BROWSE FORMAT command. The EDIT, CHANGE, APPEND, and READ commands do not ignore the extra commands in the format file.
CAUSEFoxPro and dBASE format files differ in functionality. FoxPro allows only @ ... SAY, @ ... GET, and COLOR commands in a format file, whereas dBASE allows other program commands. FoxPro provides for the use of other commands through the Screen Builder power tool, which is the replacement for the dBASE format file. The FoxPro Migration tool, MIGRATE.APP, will convert dBASE .FMT files into FoxPro .SCX files. To run the Migration tool, choose Convert dBASE Files from the Run menu in FoxPro version 2.6.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior
IF TYPE( "ll_echo" ) = "L" IF ll_echo SET ECHO ON ENDIF ENDIF IF ll_talk SET TALK ON ENDIF *-- EOP: CUSTOMER.FMT
USE customer SET FORMAT TO customer.fmt BROWSE FORMAT FoxPro will ignore all commands except @ ... SAY, @ ... GET, and COLOR commands. This behavior is by design to eliminate the "Syntax error" message that occurs in previous versions of FoxPro.
|
Additional reference words: FoxDos FoxWin 2.60
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |