FIX:GENDBC Error: Command contains unrecognized phrase/keywordID: Q134366 3.00 WINDOWS kbref kbfixlist kbbuglist The information in this article applies to:
SYMPTOMSThe following error occurs on DBSETPROP() when a program created by GENDBC.PRG is run:
CAUSEA comment for a field in a table contains a Carriage Return.
WORKAROUNDUse the following steps to modify GENDBC.PRG located in the Visual FoxPro TOOLS\GENDBC directory so that it adds the CHR(13) as a character in the Comment field. 1. Type the following command in the Command window to open the GENDBC 2. Choose Find from the Edit menu and type the following in the Look For
3. Add a new line to the program below the following line of code, which is
4. Type the following command on the new line created in Step 3:
5. Save and close the program file.
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual FoxPro 3.0b for Windows.
MORE INFORMATIONGENDBC.PRG is located in the Visual FoxPro TOOLS\GENDBC directory. This tool generates a program that can re-create a database. It can be used to:
1. Type the following commands in the Command window:
2. Type the following lines in the comment "Field Comment" box, pressing
3. Click OK in the Table Designer dialog box. Click Yes when prompted to
4. To ensure that none of the sample files are overwritten, make sure that
5. Type the following command in the Command window to create a program
5. Now type the following command to run the program that was created in
REFERENCESVisual FoxPro Help File, Topic "GENDBC.PRG." Additional reference words: 3.00 VFoxWin fixlist3.00b buglist3.00 KBCategory: kbref kbfixlist kbbuglist KBSubcategory: FxotherSample
|
Last Reviewed: October 22, 1997 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |