@echo off REM 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 /!! REM 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 REM screen 0 cls echo DEMO: about to run command echo. echo DBM ADDR,ADDR_3,ADDR_3 STOCK,STOCK_3 /R /43 /#25 echo ------------------------------------------------ echo. echo which does echo 1. keep two workareas in a same screen (see this by pressing F7) echo 2. index file for ADDR automatically created by ADDR_3.DBP echo 3. relation automatically set to SURNAME in ADDR by STOCK.DBP echo. pause DBM ADDR,ADDR_3,ADDR_3 STOCK,STOCK_3 /R /43 /#25 cls echo DEMO: about to run command echo. echo DBM ORDER BDWARE TRANSACT /25 /#25,25 /r echo ----------------------------------------- echo. echo which does echo 1. keep three workareas in a same screen echo 2. index files and relations established via *.DBP files echo 3. this set of database files is a simple real-world application echo used by a trading company echo. pause DBM ORDER BDWARE TRANSACT /25 /#25,25 /r 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