FIX: GENDBC Error: Command contains unrecognized phrase/keyword (134366)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
This article was previously published under Q134366 SYMPTOMS
The following error occurs on DBSETPROP() when a program created by
GENDBC.PRG is run:
Command contains unrecognized phrase/keyword
CAUSE
A comment for a field in a table contains a Carriage Return.
WORKAROUND
Use 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.
- Type the following command in the Command window to open the GENDBC
program:
MODIFY COMMAND SYS(2004)+"TOOLS\GENDBC\GENDBC.PRG" - Choose Find from the Edit menu and type the following in the Look For
box including the quotation marks:
- Add a new line to the program below the following line of code, which is
two lines below the line that was found:
cTemp = STRTRAN( cTemp, ["], ['] ) - Type the following command on the new line created in Step 3:
cTemp = STRTRAN( cTemp, CHR(13), ["+CHR(13)+"] ) - Save and close the program file.
STATUS
Microsoft 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.
REFERENCES
Visual FoxPro Help File, Topic "GENDBC.PRG."
Modification Type: | Major | Last Reviewed: | 3/24/2000 |
---|
Keywords: | kbbug KB134366 kbAudDeveloper |
---|
|