home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #1 / MONSTER.ISO / cad / dbase4.txt < prev    next >
Text File  |  1993-05-11  |  3KB  |  75 lines

  1. Autodesk Product Support                                   January 11, 1993
  2.  
  3.                 AutoCAD Release 12 and dBASE IV -- Common Questions 
  4.  
  5. 1.) The following error occurs when attempting to load the dBASE IV drivers.  
  6.  
  7.     "Can't initialize driver"
  8.  
  9.     This error is caused by one or both of the following problems:
  10.     a.) dBASE IV has not been installed correctly.
  11.     b.) The environment variable SQLHOME has not been correctly set.  
  12.  
  13.     To remedy this condition, confirm that dBASE IV is installed locally or is 
  14. available via a network connection, and confirm that the environment variable 
  15. SQLHOME is pointing to the directory which contains the file SYSDBS.DBF.  For 
  16. example, if dBASE IV is loaded on the local drive C:\DBASE, the SQLHOME 
  17. environment variable should read:
  18.  
  19.     SET SQLHOME=C:\DBASE\SQLHOME
  20.  
  21.  
  22. 2.) The following error occurs when issuing the ASESETDB command. 
  23.  
  24.     "Database not found"
  25.  
  26.     This error indicates that dBASE IV does not have access to the requested 
  27. database.  Either the requested database was incorrectly typed or the database 
  28. has never been added to dBASE IV.  See question 3 for instructions on adding 
  29. a database to dBASE IV.  The following steps will display a list of all 
  30. available databases:  
  31.  
  32.     a.) Start dBASE IV, escape to the dot prompt, and type the command "SET 
  33.     SQL ON" followed by Enter.
  34.  
  35.     b.) Next, issue the command "SHOW DATABASE;"  Note: every SQL statement 
  36.     must end in a semicolon.  Below is an example of the information provided 
  37.     by the SHOW DATABASE command:
  38.  
  39.         Existing databases are:
  40.         NAME       CREATOR    DATE       PATH
  41.         SAMPLES    SYSTEM     10/28/92   C:\DBASE4\SAMPLES
  42.         INVENTORY             10/31/92   C:\DBASE4\INVENTORY
  43.  
  44.  
  45. 3. To add a database to those available in dBASE IV, issue the following:  
  46.  
  47.    a.) From the DOS prompt, create a directory in the main dBASE directory 
  48.    using the name of the new database.  
  49.  
  50.    b.) Copy the database files into the new directory.
  51.  
  52.    c.) Start dBASE IV, escape to the dot prompt, and type the command "SET 
  53.    SQL ON" followed by Enter.
  54.  
  55.    d.) Issue the command "CREATE DATABASE <database name>;" followed by Enter.  
  56.    Note: <database name> is the name of the newly created directory.
  57.  
  58.    e.) Issue the command "DBDEFINE;" to update the list of tables in the 
  59.    database.
  60.  
  61.    f.) The database is now available to dBASE IV.
  62.  
  63.  
  64.  
  65.  
  66.                               Autodesk Trademarks
  67. AutoCAD and Autodesk are registered trademarks in the U.S. Patent and 
  68. Trademark Office by Autodesk, Inc.
  69.  
  70.                              Third-Party Trademarks
  71. All other brand and product names are trademarks or registered trademarks 
  72. of their respective holders.
  73.  
  74. PSR 007 Rev. 1.0 1/11/93
  75.