Microsoft KB Archive/162683

= BUG: BROWSE FORMAT May Cause Blank Browse Window =

Article ID: 162683

Article Last Modified on 5/10/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0b for Macintosh
 * Microsoft Visual FoxPro 3.0 Standard Edition
 * Microsoft Visual FoxPro 3.0b Standard Edition
 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a
 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q162683



SYMPTOMS
If a BROWSE FORMAT command uses a format file that contains a syntax error, the resulting Browse window is blank. Visual FoxPro produces no error message. Earlier versions of FoxPro produce the following error message:

No fields to process

And no Browse window appears.



STATUS
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.



Step to Reproduce Behavior
 Use the Customer.dbf file located in the Visual FoxPro \Samples\Data folder.  Create a format file by typing "MODIFY COMMAND Test.fmt" (without the quotation marks) in the Command window. Add the following line of code to the file: @ SAY 24,24, company+contact This line of code is incorrect intentionally.  Type the following lines in the Command window, pressing the Enter key after each line:

SET FORMAT TO Test.fmt

BROWSE FORMAT

 A blank Browse window appears.

Additional query words: kbvfp300b kbvfp500 kbvfp500a kbvfp600

Keywords: kbbug kbprogramming KB162683

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.