(****************************************************************)
(*                     DATABASE TOOLBOX 4.0                     *)
(*     Copyright (c) 1984, 87 by Borland International, Inc.    *)
(*                                                              *)
(*                        TEMPLATE.NFO                          *)
(*                                                              *)
(*   Use this file as a template for setting constant which     *)
(*   tell the Convert program how to convert your data and      *)
(*   index files from Turbo Access 1.0 format to 4.0 format.    *)
(*                                                              *)
(*   CUSTOMIZE THE CONSTANTS DECLARATIONS BELOW TO MATCH YOUR   *)
(*   DATABASE.  SEE BTREE.NFO FOR AN EXAMPLE.                   *)
(*                                                              *)
(****************************************************************)



type
  FileName = string[66];


  DataFileInfo = record
     { Information that the Convert program uses to convert 1.0 Turbo }
     { Access data files into TA 4.0 files. }

    OrigRecordSize : word;     { Size of ORIGINAL record, use SizeOf(MyRec) }

    NewRecordSize : word;           { Size of NEW record, use SizeOf(MyRec) }

    OrigStatusField : boolean;   { Set to true if you set up the 1st integer }
                  { field as a record status indicator in original data file }

    NewStatusField  : boolean;    { Set to true if you set 1st LongInt field }
                     { up as a record status indicator in your 4.0 data file }

    OrigFileNm,                                 { Name of original data file }

    NewFileNm : FileName; { Name of new file; OrigFileNm should <> NewFileNm }
  end;


  IndexFileInfo = record
    { Information that the Convert program uses to convert 1.0 Turbo
    { Access index files into TA 4.0 index files }

    KeyLength : byte;                      { # of chars i.e. SizeOf(Key) - 1 }

    Status    : byte;              { Duplicates keys allowed or NoDuplicates }

    OrigFileNm,                                { Name of original index file }

    NewFileNm : FileName; { Name of new index file.  OrigFileNm <> NewFileNm }
  end;

{ CUSTOMIZE THE FOLLOWING CONSTANT DECLARATIONS FOR YOUR DATABASE. SEE
  BTREE.NFO FOR AN EXAMPLE. }
const

  MyDataFile : DataFileInfo =
                (OrigRecordSize : 0;
                 NewRecordSize : 0;
                 OrigStatusField : true;
                 NewStatusField : true;
                 OrigFileNm : '';
                 NewFileNm : '');

  NumIndexFiles = 1;  { Set to number of index files in your database }

  MyIndexFiles : array[1..NumIndexFiles] of IndexFileInfo =
                  ((KeyLength : 0;
                    Status : 0;
                    OrigFileNm : '';
                    NewFileNm : ''
                   ) { , ... }

                  );


  { Insert Turbo Access 1.0 constant declarations for your database. }
  MaxDataRecSize = 0;
  MaxKeyLen      = 0;
  PageSize       = 0;
  Order          = 0;
  PageStackSize  = 0;
  MaxHeight      = 0;