home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / samples / database / car / readme.txt
Encoding:
Text File  |  1996-02-22  |  3.4 KB  |  98 lines

  1.  
  2.  **********************************************************************
  3.  * DISCLAIMER OF WARRANTIES:                                          *
  4.  *                                                                    *
  5.  * The following enclosed code is sample code created by IBM          *
  6.  * Corporation.  This sample code is not part of any standard IBM     *
  7.  * product and is provided to you solely for the purpose of assisting *
  8.  * you in the development of your applications.  The code is provided *
  9.  * "AS IS", without warranty of any kind.  IBM shall not be liable    *
  10.  * for any damages arising out of your use of the sample code, even   *
  11.  * if they have been advised of the possibility of such damages       *
  12.  *                                                                    *
  13.  **********************************************************************
  14.  
  15. CAR SAMPLE OVERVIEW
  16. -------------------
  17.  
  18. FEATURES/CONCEPTS:
  19.  
  20.    Using the Data Access Builder and the Visual Builder to develop
  21.    applications that can access database tables.
  22.  
  23. TASK:
  24.  
  25.    Construct a DLL and two applications using the Data Access Builder and
  26.    the Visual Builder.
  27.  
  28. DESCRIPTION
  29.  
  30.    The CAR SAMPLE is actually composed of three separate samples:
  31.  
  32.      o DAXSAMP.  A DLL to support the classes that access the DAXSAMP database.
  33.  
  34.      o CarBrws.  An application which permits you to view the CAR table
  35.        in the DAXSAMP database.
  36.        Enables you to browse through this inventory, querying descriptive
  37.        information such as color or vehicle type.
  38.  
  39.      o CarEdit.  An application which permits you to modify the contents
  40.        of the CAR table in the DAXSAMP database.
  41.        Enables you to update the inventory, and to execute simple
  42.        queries.
  43.  
  44. PROJECT/SOURCE FILE LOCATION
  45.  
  46.    X:\IBMCPPW\SAMPLES\DATABASE\CAR
  47.  
  48.    where X: is the drive on which you installed the samples and document
  49.    component of VisualAge C++.
  50.  
  51. HOW TO RUN THE SAMPLE PROJECT
  52.  
  53.    You may recreate the access DLL using the DAXSAMP sample before
  54.    running CarBrws or CarEdit.
  55.  
  56. GENERAL INSTRUCTIONS FOR RUNNING THESE APPLICATIONS
  57.  
  58.    1. If you are running the sample from the command line, you must first copy
  59.       x:\ibmcppw\samples\database\car\daxsamp\car.dll to a directory on your
  60.       path.
  61.  
  62.    2. A dBase ODBC database named DAXSAMP is supplied for the samples.
  63.  
  64.       The Car table used in the CarEdit and CarBrws samples has already
  65.       been created an populated.
  66.  
  67.       Also, a unique index has been created on the License field to ensure that
  68.       duplicate rows cannot be created.
  69.  
  70.       Each time you rerun the samples, reset the database tables to their
  71.       initial states. This is optional for CarBrws since the database tables
  72.       are not modified.
  73.  
  74.       The files used for reseting the database tables are:
  75.  
  76.         resettbo - for ODBC databases
  77.         resettbc - for CLI access to a DB2 database
  78.         resettbe - for Embedded SQL access to a DB2 database
  79.  
  80.    3. Run CARBRWS\CARBRWS.EXE or CAREDIT\CAREDIT.EXE.
  81.  
  82.  
  83. SOURCE FILES
  84.  
  85.    README.TXT
  86.       General Description and instructions for the sample.
  87.  
  88.    DAXSAMP directory
  89.       Contains the DAXSAMP files that are used to build the access DLL.
  90.  
  91.    CARBRWS directory
  92.       Contains the Visual Builder files that are used to build
  93.       the CARBRWS application.
  94.  
  95.    CAREDIT directory
  96.       Contains the Visual Builder files that are used to build
  97.       the CAREDIT application.
  98.