home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 12 / CD_ASCQ_12_0294.iso / vrac / dbf2dc.zip / DBF2DCT.DOC next >
Text File  |  1994-01-28  |  4KB  |  85 lines

  1.  
  2.                  A DBF/Clarion Data Dictionary Utility
  3.                             For Clarion 3.0
  4.                                    by
  5.                              Stephen Genusa
  6.  
  7.  
  8.   ************************************************************************
  9.   This program and all associated data carries no warranty express or
  10.   implied.  By using this data in any format, for any purpose, you agree
  11.   not to hold Stephen Genusa liable for special, incidental, or consequential
  12.   damages, including loss of profits, regardless of whether Stephen Genusa
  13.   has been advised that such damages may be incurred.
  14.   ************************************************************************
  15.  
  16.   These programs are "BETA."  If they help you get your project completed
  17.   quicker than manual input --GREAT!  I am glad to have helped.  On the
  18.   other hand if you have problems, I'd be glad to help you in any way I
  19.   can.  Just contact me and I'll see what I can do.  I would appreciate
  20.   at least a thank you note (mail, email address is internet:
  21.   sgenusa@delphi.com) if you use these programs.
  22.  
  23.   This program is designed to read the DBF structure and import in
  24.   directly into a Clarion DCT file.  BTrieve must be loaded.
  25.  
  26.   The usage screen is as follows:
  27.                                                                                 
  28.   Usage: DBF2DCT [/Iinput.dbf] [/Ooutput.dct] [/Fx] [/V] [/Kx,y,z]
  29.                                                                                 
  30.    /Fx = Format of data file that DCT will have for this file
  31.      C = Clipper
  32.      3 = dBase3
  33.      4 = dBase4
  34.      F = FoxPro
  35.      For example /F3 = dBase3
  36.  
  37.    /K=Key Names
  38.      For example /Fempname,empno = Reads IDX or NDX structures for files
  39.      empname.xxx and empno.xxx.  Does *NOT* handle expressions
  40.  
  41.    /V=oVerwrite Existing Dictionary
  42.  
  43.   Examples:
  44.     dbf2dct junk /F4 - DCT file called junk with junk.dbf struct in dBase4
  45.                        If DCT junk exists attempts to add junk.dbf - if it
  46.                        does not exist it is created.
  47.     dbf2dct junk /F4 /v - overwrite DCT if it exists
  48.     dbf2dct junk /ostuff /FC - specifies DCT filename to be stuff.dct.
  49.  
  50.   If the dictionary file specified as output does not exist then it will be
  51.   created. If it does exist the /v will overwrite the *entire* DCT file with
  52.   only the new DBF structure in it.  If the DCT does exist but the DBF file
  53.   does not exist in it, it will be added.
  54.  
  55.   A utility has been added-MDBF.  It takes the same parameters as DBF2DCT but
  56.   for the input DBF file you can use a mask such as *.dbf or m*.dbf and all
  57.   the proper DBF files will be added to the same dictionary.  You must specify
  58.   an output dictionary file name (/Oxxxxxxxx.dct).  To create a dictionary
  59.   called CH.DCT containing all DBF files in the current directory just call
  60.   MDBF like this:
  61.                   MDBF *.* /Och
  62.  
  63.   MDBF calls DBF2DCT with the correct parameters.
  64.  
  65.   If you find these utilities useful a small donation (say $25) would be
  66.   appreciated--those who register will receive info on updates.  Your
  67.   comments are requested and appreciated.
  68.  
  69.   Stephen Genusa
  70.   9107E Derbyshire Road
  71.   Richmond, VA 23229
  72.   Home: 804-741-8255
  73.  
  74.   Changes:
  75.     01/21/94 - Version .5
  76.                  First release.
  77.     01/24/94 - Version .6
  78.                  Fixed the limited number of fields available in version .5.
  79.                  Fixed display picture for date fields.
  80.     01/27/94 - Version .7
  81.                  Added keys for dBase3 and Foxpro - does *NOT* support
  82.                    expressions.
  83.                  Add MDBF - adds multiple DBFs to a dictionary by file mask.
  84.  
  85.