home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 5
/
ctrom5b.zip
/
ctrom5b
/
DOS
/
DATABASE
/
DBM112
/
DEMO.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-05-01
|
3KB
|
107 lines
@echo off
screen 0
cls
echo DEMO: about to run command
echo.
echo DBM ADDR,,,SURNAME STOCK /25 /:2
echo ------------------------------------
echo.
echo which does
echo 1. Load in database
echo ADDR.dbf
echo addr.dbm -default format file if exists
echo addr.dbp -default print design file if exists
echo SURNAME.ntx -index file to be opened
echo 2. Load in: STOCK.dbf,stock.dbm,stock.dbp
echo 3. /:2 Initial workarea is the 2nd database STOCK
echo 4. /25 25 lines screen display
echo.
echo The initialisation block user-provided in database STOCK.DBP
echo sets itself related to database ADDR.DBF via the common field
echo SURNAME, so that the corresponding entry in ADDR.DBF is
echo automatically sought for every current record in STOCK.DBF.
echo Use F7 key to toggle the different displays.
echo.
pause
DBM ADDR,,,SURNAME STOCK /25 /:2
cls
echo DEMO: about to run command
echo.
echo DBM ADDR,ADDR_1 /M /25 /!
echo --------------------------
echo.
echo which does
echo 1. Display only some of the fields specified by ADDR_1.DBM
echo 2. Monocrhome monitor assumed
echo 3. Portion of memo field is displayed directly
echo 4. Submenu disabled
echo.
pause
DBM ADDR,ADDR_1 /M /25 /!
cls
echo DEMO: about to run command
echo.
echo DBM ADDR,ADDR_2 /CC /25 /!!
echo ----------------------------
echo.
echo which does
echo 1. Display only some of the fields specified by ADDR_1.DBM
echo 2. Another color setting
echo 3. Portion of memo displayed directly, with same focus/edit region
echo 4. Unauthorised edit/view disabled
echo.
pause
DBM ADDR,ADDR_2 /CC /25 /!!
screen 1
cls
echo DEMO: about to run command
echo.
echo DBM ADDR,ADDR132 /M /D
echo -----------------------
echo.
echo which displays in 132x25 text mode for VGA, with mouse disabled
echo.
echo If your screen right now is not already in 132x25 text mode, then
echo part of the screen display in pagemode of this part of demo will not
echo be shown properly.
echo.
pause
DBM ADDR,ADDR132 /M /D
screen 0
cls
echo DEMO: about to run command
echo.
echo DBM * //f:60 /50 /w /n
echo -----------------------
echo.
echo which does
echo 1. Try to load in all database files
echo 2. max allowed number of open files is set to 60
echo 3. /50 50 lines screen display
echo 4. /w initially set to windowmode display
echo 5. /n direct link between pagemode and windowmode
echo via index or filter is disabled
echo.
pause
DBM * //f:60 /50 /w /n