home *** CD-ROM | disk | FTP | other *** search
- Autodesk Product Support January 11, 1993
-
- AutoCAD Release 12 and dBASE IV -- Common Questions
-
- 1.) The following error occurs when attempting to load the dBASE IV drivers.
-
- "Can't initialize driver"
-
- This error is caused by one or both of the following problems:
- a.) dBASE IV has not been installed correctly.
- b.) The environment variable SQLHOME has not been correctly set.
-
- To remedy this condition, confirm that dBASE IV is installed locally or is
- available via a network connection, and confirm that the environment variable
- SQLHOME is pointing to the directory which contains the file SYSDBS.DBF. For
- example, if dBASE IV is loaded on the local drive C:\DBASE, the SQLHOME
- environment variable should read:
-
- SET SQLHOME=C:\DBASE\SQLHOME
-
-
- 2.) The following error occurs when issuing the ASESETDB command.
-
- "Database not found"
-
- This error indicates that dBASE IV does not have access to the requested
- database. Either the requested database was incorrectly typed or the database
- has never been added to dBASE IV. See question 3 for instructions on adding
- a database to dBASE IV. The following steps will display a list of all
- available databases:
-
- a.) Start dBASE IV, escape to the dot prompt, and type the command "SET
- SQL ON" followed by Enter.
-
- b.) Next, issue the command "SHOW DATABASE;" Note: every SQL statement
- must end in a semicolon. Below is an example of the information provided
- by the SHOW DATABASE command:
-
- Existing databases are:
- NAME CREATOR DATE PATH
- SAMPLES SYSTEM 10/28/92 C:\DBASE4\SAMPLES
- INVENTORY 10/31/92 C:\DBASE4\INVENTORY
-
-
- 3. To add a database to those available in dBASE IV, issue the following:
-
- a.) From the DOS prompt, create a directory in the main dBASE directory
- using the name of the new database.
-
- b.) Copy the database files into the new directory.
-
- c.) Start dBASE IV, escape to the dot prompt, and type the command "SET
- SQL ON" followed by Enter.
-
- d.) Issue the command "CREATE DATABASE <database name>;" followed by Enter.
- Note: <database name> is the name of the newly created directory.
-
- e.) Issue the command "DBDEFINE;" to update the list of tables in the
- database.
-
- f.) The database is now available to dBASE IV.
-
-
-
-
- Autodesk Trademarks
- AutoCAD and Autodesk are registered trademarks in the U.S. Patent and
- Trademark Office by Autodesk, Inc.
-
- Third-Party Trademarks
- All other brand and product names are trademarks or registered trademarks
- of their respective holders.
-
- PSR 007 Rev. 1.0 1/11/93
-