Microsoft KB Archive/287111

= PRB: SET COMPATIBLE ON Causes Error with Gendbc.prg =

Article ID: 287111

Article Last Modified on 2/7/2001

-

APPLIES TO


 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q287111



SYMPTOMS
If SET COMPATIBLE is set to ON and you run Gendbc.prg against a database container, you may receive the following error message:

Unrecoverable Error:

Operator/Operand type mismatch.

At Line: 438



RESOLUTION
Before you run Gendbc.prg, make sure that SET COMPATIBLE is set to OFF.



Steps to Reproduce Behavior
  In the Command window, issue the following command: SET COMPATIBLE ON                     Run Gendbc.prg against the Testdata database by using the following code: OPEN DATABASE home(2)+&quot;data\testdata&quot; DO SYS(2004)+'tools\gendbc\gendbc' WITH 'testdata.prg' 

Keywords: kbxbase kbcodesnippet kbdatabase kbprb kbpending KB287111

-

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

© Microsoft Corporation. All rights reserved.