Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : CONVERTA.ZIP
Filename : CONVERT.DOC

 
Output of file : CONVERT.DOC contained in archive : CONVERTA.ZIP
ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

This program is designed to convert an ASCII file that is
not delimited to a data base file (dbf).

To use this program you must feed in the first 3
parameters (as listed below) from the DOS prompt.

THIS PROGRAM ASSUMES ALL DATABASE FILES HAVE AN
AN EXTENSION OF (.DBF). The name of the ASCII file
may have any extension.

ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

Syntax:

CONVERT ASCIIFile FromDBF ToDBF [HeaderBytes] [Footbytes]

ASCIIFile - Name of ASCII File to Convert
FromDBF - Name of DBF File to use a pattern for
reading data from ASCII File
ToDBF - Name of DBF File to save converted
Data. This file will be created for
you if not found. If found, records
from the ASCII file will be appended to
this file. Therefore this file name
may be the same as the FromDBF file
name.
HeaderBytes - Number of Bytes preceeding data in
ASCII file.
Footbytes - Number of Bytes following the data in
the ASCII file.

ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

Examples:

CONVERT LIST MASTER DEPT
³ ³ ÀÄ Name of database to contain data
³ ÀÄ Name of Database to use as a pattern
ÀÄ Name of ASCII File

ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ


CONVERT TEXT PEOPLE LIST 100 20
³ ³ ³ ³ ³
³ ³ ³ ³ ÀÄ 20 bytes follow data
³ ³ ³ ÀÄ 100 bytes preceed ASCII data
³ ³ ÀÄ Name of database to contain data
³ ÀÄ Name of Database to use as a pattern
ÀÄ Name of ASCII File

ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ

To give you a micro example:

'TEXT' ASCII File contains: 10FRED20JANE30TONY

'TEMPLATE' From DBF File Stru.: Code NUM 2 0
Name CHAR 4

'NAMES' To DBF File does not exist

Syntax to Convert:

CONVERT TEXT TEMPLATE NAMES

Would Create NAMES.DBF containing:

Code Name
ÄÄÄÄ ÄÄÄÄ
10 FRED
20 JANE
30 TONY

ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
End of Help Text



  3 Responses to “Category : Dbase (Clipper, FoxBase, etc) Languages Source Code
Archive   : CONVERTA.ZIP
Filename : CONVERT.DOC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/