BUG: Press Key Msg When Display Structure to File NoconsoleLast reviewed: April 27, 1995Article ID: Q125416 |
The information in this article applies to:
SYMPTOMSUsing the DISPLAY STRUCTURE TO FILE command with the NOCONSOLE option suppresses output of the table structure to the screen, but it does not stop FoxPro from prompting you to "Press any key to continue."
CAUSEWhile FoxPro does suppress the output to the screen, it acts as if output is being scrolled to the screen and prompts you to press any key when enough output to fill the screen has been sent to the file. This behavior happens when the structure of the database contains more fields that can fit on one screen. FoxPro prompts you to press a key each time the output consumes one full screen. Therefore, if you have a large database that takes three screens to display the structure you will be prompted to press any key three times.
RESOLUTIONReplace the DISPLAY command with the LIST command:
LIST STRUCTURE TO FILE OUTPUT.TXT NOCONSOLEThis prevents the "Press any key to continue" message.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATIONWhen the command is issued from the Command window, the behavior does not usually present a problem. However when the command is issued from within a program, this behavior becomes undesirable.
Steps to Reproduce Problem
|
Additional reference words: 1.00 1.10 2.00 6.00 2.50 2.50a 2.50b 2.60
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |