home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 5 / ctrom5b.zip / ctrom5b / DOS / DATABASE / DBM112 / DEMO.BAT < prev    next >
DOS Batch File  |  1995-05-01  |  3KB  |  107 lines

  1. @echo off
  2. screen 0
  3. cls
  4. echo DEMO:  about to run command
  5. echo.
  6. echo DBM ADDR,,,SURNAME STOCK  /25 /:2
  7. echo ------------------------------------
  8. echo.
  9. echo which does
  10. echo 1. Load in database
  11. echo     ADDR.dbf
  12. echo     addr.dbm         -default format file if exists
  13. echo     addr.dbp         -default print design file if exists
  14. echo     SURNAME.ntx      -index file to be opened
  15. echo 2. Load in:    STOCK.dbf,stock.dbm,stock.dbp
  16. echo 3. /:2         Initial workarea is the 2nd database STOCK
  17. echo 4. /25         25 lines screen display
  18. echo.
  19. echo The initialisation block user-provided in database STOCK.DBP
  20. echo sets itself related to database ADDR.DBF via the common field
  21. echo SURNAME, so that the corresponding entry in ADDR.DBF is
  22. echo automatically sought for every current record in STOCK.DBF.
  23. echo Use F7 key to toggle the different displays.
  24. echo.
  25. pause
  26.  
  27. DBM ADDR,,,SURNAME STOCK /25 /:2
  28.  
  29.  
  30.  
  31.  
  32. cls
  33. echo DEMO:  about to run command
  34. echo.
  35. echo DBM  ADDR,ADDR_1 /M /25 /!
  36. echo --------------------------
  37. echo.
  38. echo which does
  39. echo 1. Display only some of the fields specified by ADDR_1.DBM
  40. echo 2. Monocrhome monitor assumed
  41. echo 3. Portion of memo field is displayed directly
  42. echo 4. Submenu disabled
  43. echo.
  44. pause
  45.  
  46. DBM  ADDR,ADDR_1 /M /25 /!
  47.  
  48.  
  49.  
  50.  
  51. cls
  52. echo DEMO:  about to run command
  53. echo.
  54. echo DBM  ADDR,ADDR_2 /CC /25 /!!
  55. echo ----------------------------
  56. echo.
  57. echo which does
  58. echo 1. Display only some of the fields specified by ADDR_1.DBM
  59. echo 2. Another color setting
  60. echo 3. Portion of memo displayed directly, with same focus/edit region
  61. echo 4. Unauthorised edit/view disabled
  62. echo.
  63. pause
  64.  
  65. DBM  ADDR,ADDR_2 /CC /25 /!!
  66.  
  67.  
  68.  
  69. screen 1
  70. cls
  71. echo DEMO:  about to run command
  72. echo.
  73. echo DBM  ADDR,ADDR132 /M /D
  74. echo -----------------------
  75. echo.
  76. echo which displays in 132x25 text mode for VGA, with mouse disabled
  77. echo.
  78. echo If your screen right now is not already in 132x25 text mode, then
  79. echo part of the screen display in pagemode of this part of demo will not
  80. echo be shown properly.
  81. echo.
  82. pause
  83.  
  84. DBM  ADDR,ADDR132 /M /D
  85. screen 0
  86.  
  87.  
  88.  
  89.  
  90. cls
  91. echo DEMO:  about to run command
  92. echo.
  93. echo DBM *  //f:60 /50 /w /n
  94. echo -----------------------
  95. echo.
  96. echo which does
  97. echo 1. Try to load in all database files
  98. echo 2. max allowed number of open files is set to 60
  99. echo 3. /50   50 lines screen display
  100. echo 4. /w    initially set to windowmode display
  101. echo 5. /n    direct link between pagemode and windowmode
  102. echo          via index or filter is disabled
  103. echo.
  104. pause
  105.  
  106. DBM * //f:60 /50 /w /n
  107.