home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / DATABASE / CAR / README
Text File  |  1995-06-11  |  3KB  |  102 lines

  1.  
  2.  
  3. CAR SAMPLE OVERVIEW
  4.  
  5.  
  6. DESCRIPTION
  7.  
  8. There are actually 3 samples composing the "Car Sample".  The first sample, DAXSamp,
  9. creates a database containing a car lot's inventory and a DLL which supports access to 
  10. the database.  The next sample, CarBrws, allows you to browse through
  11. the car lot's inventory, querying descriptive information such as color or vehicle type.  
  12. The final sample, CarEdit, allows you to update (edit) the car inventory in 
  13. addition to allowing you to make simple queries.
  14.  
  15. DAXSamp - a DLL to support the classes that access the DAXSAMP database.
  16.  
  17. CarBrws - an application which allows viewing of the CAR table in the DAXSAMP database.
  18.  
  19. CarEdit - an application which allows the contents of the CAR table in the DAXSAMP
  20.           database to be modified.
  21.  
  22.  
  23. CONCEPT/FEATURE:
  24. Using the Data Access Builder and the Visual Builder to develop applications accessing a DB2/2 database.
  25.  
  26.  
  27. TASK:
  28. Construct a DLL and two applications using the Data Access Builder and the Visual Builder.
  29.  
  30.  
  31. PROJECTS LOCATION:
  32. Inside the DATABASE Sample folder (inside the VisualAge C++ SAMPLES folder).
  33.  
  34.  
  35. SOURCE FILE LOCATION:
  36.  
  37. X:\ibmcpp\samples\database\car 
  38.  
  39. where X: is the drive you installed the samples and document component of VisualAge C++.
  40.  
  41.  
  42. HOW TO RUN THE SAMPLE PROJECT:
  43. You must run the DAXSAMP project to generate the database and the access DLL BEFORE you can run
  44. either the CAR BROWSE or CAR EDIT projects.
  45.  
  46.  
  47. GENERAL instruction to run these applications:
  48.       1) Create the database using DAXSAMP.CMD
  49.             eg: DAXSAMP e
  50.           to create the database on your e: drive.
  51.   
  52.       2) Bind the CARV package (in the DAXSAMP.DLL)
  53.          to this newly created database:
  54.               cd DAXSAMP
  55.               startdbm 
  56.               SQLBIND CARV.BND DAXSAMP
  57.               cd ..
  58.     
  59.       3) copy DAXSAMP\DAXSAMP.DLL to a directory
  60.           specified in your LIBPATH 
  61.  
  62.        4) Run CARBRWS\CARBRWS.EXE or CAREDIT\CAREDIT.EXE.
  63.  
  64.  
  65.  
  66. GENERAL instructions to build these applications:
  67.  
  68. The BUILD.CMD found in each of the DAXSAMP, CARBRWS and CAREDIT directories
  69. will not work until the DLL code has been generated using the Data Access Builder
  70. and the application source has been generated using the Visual Builder.    
  71.      
  72.  
  73. NOTE: PLEASE SEE THE README FILE FOR EACH PARTICULAR PROJECT, EITHER CARBRWS OR CAREDIT, 
  74. FOR DETAILS ON RUNNING  AND BUILDING THESE SAMPLES.
  75.  
  76.  
  77. SOFTWARE/HARDWARE PREREQUISITES:
  78.  
  79. IBM VisualAge C++ 3.0, including the Visual Builder and the Data Access Builder
  80. OS/2 2.1 or Warp
  81. DB2/2 1.2
  82.  
  83. Minimum         : IBM or compatible 386 
  84. Recommended : IBM or compatible 486 and up
  85.  
  86.  
  87. SOURCE FILES - Car Sample 
  88.  
  89.   README 
  90.   - Description and instructions for the sample.
  91.  
  92.   DAXSAMP directory
  93.   - Contains the daxsamp.cmd which is used to create the DAXSAMP database on your system,
  94.     and the Data AccessBuilder generated files that are used to build the CARV.DLL.
  95.  
  96.   CARBRWS directory
  97.   - Contains the Visual Builder files that are used to build the CARBRWS.EXE application.
  98.  
  99.   CAREDIT directory
  100.   - Contains the Visual Builder files that are used to build the CAREDIT.EXE application.
  101.  
  102.