Microsoft KB Archive/69343

= ISAMCVT Btrieve Specfiles Cannot Have Spaces; Must Use Commas =

Article ID: 69343

Article Last Modified on 8/16/2005

-

APPLIES TO


 * Microsoft Visual Basic for MS-DOS
 * Microsoft BASIC Professional Development System 7.0
 * Microsoft BASIC Professional Development System 7.1

-



This article was previously published under Q69343



SUMMARY
Page 148 of the &quot;Microsoft Visual Basic for MS-DOS: Professional Edition Features&quot; manual gives an incorrect example of a Btrieve specfile. The fields of each entry are incorrectly shown separated by spaces; instead, the fields should be separated by commas. This documentation error also exists on Page 392 of the &quot;Microsoft Basic 7.0: Programmer's Guide&quot; for Basic PDS for MS-DOS, versions 7.0 and 7.1.

ISAMCVT specfiles must not contain spaces.



MORE INFORMATION
The specfile on Page 148 and Page 392 should be changed to the following:

string,4,StringCol

integer,2,IntColumn

Long,10,LongColumn

Double,5,DoubleCol

If ISAMCVT is run with this specfile and an appropriate Btrieve file, the Btrieve file will be successfully converted. Note that the specfile must specify the format for every column in the Btrieve file (for both indexes and non-indexes).

Page 148 and 392 include the following incorrect example of a Btrieve specfile:

string 4 StringCol

integer 2 IntColumn

Long 10 LongColumn

Double 5 DoubleCol

ISAMCVT gives the following error message when using the above specfile: ISAMCVT: Invalid data type 'string 4 StringCol ' In line 1 of. ISAMCVT does not allow spaces as field separators. It is also illegal to mix commas and spaces as in the next example:   string, 4, StringCol integer, 2, IntColumn Long, 10, LongColumn Double, 5, DoubleCol ISAMCVT gives the following error message when using the above specfile:

ISAMCVT: Missing or invalid column name in line 1 of

The fields of an ISAMCVT specfile must be separated by commas and no spaces should be in the file.

Additional query words: VBmsdos BasicCom 1.00 7.00 7.10 SR# S910205-152

Keywords: KB69343

-

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

© Microsoft Corporation. All rights reserved.