                   Welcome to the dBASE IV Productivity Pack
                        for dBASE IV version 2.0
                        Multi-File Forms Edition

                Copyright (c) 1993 Borland International, Inc.

Borland(R) grants you permission to use, modify, reproduce and
distribute this dBASE IV Productivity Pack as a part of programs
or applications you write, without additional license or fees,
subject to the following conditions:

  *   All copies of your program or application must bear a valid 
      copyright notice.  By "copyright notice," we mean either your
      own copyright notice or the Borland copyright notice shown
      above.

  *   Borland provides no warranties or guarantees with respect to
      the dBASE IV Productivity Pack.  Borland provides this software as 
      is.

  *   You will remain solely responsible to anyone receiving the 
      program or application for any support, service, upgrades or
      technical or other assistance, and such recipients will have no
      right to contact Borland for such services or assistance.  You
      will indemnify and hold Borland harmless from and against any
      claims or liabilities arising out of the use, reproduction or
      distribution of the Multi-File Forms Utility.

  *   Your program or application may not merely be the Productivity
      Pack itself or a competitive product.

All Rights Reserved.  All Borland products are trademarks or
registered trademarks of Borland International, Inc.  Other brand and
product names are trademarks or registered trademarks of their
respective holders.

This file contains important information about the dBASE IV Productivity 
Pack, including installation and getting it started.

TABLE OF CONTENTS
-----------------
1. Communicating with Borland
2. Minimum System Requirements
3. Installation
4. Getting Started 
5. The ON-LINE Help System and Documentation
6. dBEdit, a MODIFY COMMAND Alternative
7. International Issues


1. COMMUNICATING WITH BORLAND

If you have any questions or wish to share ideas with us at Borland,
you can use the Template section 7 on the Borland dBASE Forum on
CompuServe.  If updates becomes available we will post them on the
Template section.  If you do not have access to CompuServe, you may
send your comments to:

    dBASE IV Productivity Pack Development
    Borland International Inc.
    P.O Box 660001
    Scotts Valley, CA, 95067-0001

Outside of the United States, send comments to your local Borland 
office.  A list of offices is included on the "Three good reasons"
card enclosed in this package. 

Please do not call Borland Technical Support.

The dBASE IV Productivity Pack is also available to members of the dBASE 
Developer Partners Program at no additional charge.  For more information 
regarding this program, please call 1-800-331-0877.

As an experienced developer you can study the code in the programs
and templates and learn how to add new power to your programs.  We
encourage you to use this tool and to try enhancing it yourself.  As
you create innovative new design tools and features, let us know, we
may want to publish your work next!


2. MINIMUM SYSTEM REQUIREMENTS

The following are the minimum system requirements for Dialog Box
Builder:

  *   dBASE IV version 2.0 installed
  *   3 MB of Free Extended Memory (for reasonable performance)


3. INSTALLATION

To install dBASE IV Productivity Pack, do the following:

  *   Insert Disk 1 of 1 into your 3.5-inch disk drive

  *   Type in the letter of the drive followed by a colon.  For example,
      If your 3.5-inch disk drive is your A: drive, type:

         A:

      followed by the Enter key.

  *   Type in the following DOS command:

         DBASE INSTALL

      This command assumes that dBASE IV version 2.0 is in your DOS path.
      Please review this README. file after the installation is complete.

The installation program does the following:

  *   Creates MFFU.BAT and CONFIG.MFF in your dBASE home directory.

  *   Copies MFFUDSGN.DBO, MFFULIB.DBO, DBEDIT.EXE, and MFFU.GEN into
      your dBASE directory.  If also copies the MFFUHELP.* help system 
      files into your dBASE directory.

  *   Copies the sample files into a subdirectory named MFFUSAMP off
      of your dBASE home directory.

  *   Copies the source files into a subdirectory named MFFUSRC off
      of your dBASE home directory.  You will also find MFFU.MAK used to 
      create MFFUDSGN.DBO, MFFULIB.DBO, and MFFU.GEN.  
      This allows you to use the MAKE.EXE program that comes with the 
      dBASE Compiler or other Borland language products to make your own 
      enhancements to dBASE IV Productivity Pack.

  *   Copies this README file to README.MFF into your dBASE home
      directory.

4.  GETTING STARTED

To test drive the Multi-File Forms portion of the dBASE IV Productivity 
Pack, do the following:

  *   Go to the MFFUSAMP directory under your dBASE home directory.  For
      example, if your dBASE is installed at C:\DBASE, type:

         CD \DBASE\MFFUSAMP

  *   Start dBASE using the MFFU.BAT file by typing:

         MFFU

The Multi-File Forms Utility is hooked into dBASE using the Open Architecture 
of the Control Center feature.  This means that you access the design 
features using the "Invoke layout program" menu item from the
"Layout" menu in the Control Center Forms Designer.  To define a lookup
against a database field into another file, use the "Load field program"
menu item from the "Field" menu.


5. THE ON-LINE HELP SYSTEM AND DOCUMENTATION

The documentation for dBASE IV Productivity Pack is contained in its help
system data files.  This file is named MFFUHELP.DBF.  The Multi-File
Forms Utility comes with a report form named DBBHELP.FRM.  You can use this
report form to print out the help system.  To print the help file
from the DOT prompt, type in the following commands while in your
dBASE home directory.

  *   USE MFFUHelp ORDER File_Name

  *   REPORT FORM DBBHelp TO PRINTER

To see the help system in action, do the following steps starting at
the DOT prompt:

  *   Press F2 for ASSIST
  
  *   Select <Create> a new form from the forms panel
  
  *   Press Alt-L I to invoke the layout program.  This brings up
      the Multi-File Forms Utility form options dialog box.

  *   Press F1 for Help on the Select a different field list drop-down
      list object.

  *   After reading the help frame, press C for the Contents.  This
      displays the items that you can receive help on for this dialog
      box.

  *   Press Ctrl-PgUp for the global table of contents.  This
      provides you a table of contents for all the help in Multi-File
      Forms Utility.  Stay in the main menu for now.

  *   Type in the work "Glossary", this will take you to the Glossary
      of terms help topic.  Press the Enter key to select this
      category.  Go ahead and browse through the various help
      categories and topic.  When finished, press the Escape key.


6. DBEDIT - A MODIFY COMMAND ALTERNATIVE

dBEdit.EXE is text file editor created using Borland's C++ and Turbo
Vision.  dBEdit allows you to edit multiple files at one time.  What
makes dBEdit interesting is that it uses the active screen as its 
background and can start-up within specified window coordinates.  After 
installation, dBEdit.exe is placed in your dBASE home directory.
This way, it will be available, assuming you have dBASE in your DOS
path.

The following is the list of supported keyboard commands:

Command                         Main Keystroke            Alternate
-----------------------------   -------------------       ---------
Cursor movement commands
Character left                  LeftArrow                 Ctrl+S
Character right                 RightArrow                Ctrl+D
Word left                       Ctrl+LeftArrow            Ctrl+A
Word right                      Ctrl+RightArrow           Ctrl+F
Line up                         UpArrow                   Ctrl+E
Line down                       DownArrow                 Ctrl+X
Page up                         PgUp                      Ctrl+R
Page down                       PgDn                      Ctrl+C
Beginning of line               Home
End of line                     End
Top of file                     Ctrl+PgUp
Bottom of file                  Ctrl+PgDn
Next procedure or function      Ctrl+B
Previous procedure or function  Alt+B

Insert and delete commands
Delete character                Del
Delete character to left        Backspace
Delete line                     Ctrl+Y
Delete to end of line           Ctrl+Q Y
Delete word                     Ctrl+T
Insert mode on/off              Ins

Block commands
Set beginning of block          Ctrl+K B
Delete block                    Ctrl+K Y
Copy block                      Ctrl+K I
Copy to Clopboard               Ctrl+Ins
Cut to Clipboard                Shift+Del
Delete block                    Ctrl+Del                  Ctrl+K K
Paste from Clipboard            Shift+Ins

Extending selected blocks       
Left one character              Shift+LeftArrow
Right one character             Shift+RightArrow
End of line                     Shift+End
Beginning of line               Shift+Home
Same column on next line        Shift+DownArrow
Same column on previous line    Shift+UpArrow
One page down                   Shift+PgDn
One page up                     Shift+PgUp
Left one word                   Shift+Ctrl+LeftArrow
Right one word                  Shift+Ctrl+RightArrow
End of file                     Shift+Ctrl+End
Beginning of file               Shift+Ctrl+Home

Block Commands

A block of text is any amount of text, from a single character to 
hundreds of lines, that is selected on your screen.  There can be 
only one block in a window at a time.  Select a block with your mouse
or by holding down Shift while moving your cursor to the end of the 
block with the arrow keys.

When you choose Edit|Copy or press Ctrl+Ins, the selected block is
copied to the Clipboard.  When you choose Edit|Paste or Shift+Ins,
the block help in the Clipboard is inserted at the current cursor
position.  The selected text remains unchanged and is no longer 
selected.

If you choose Edit|Cut or press Shift+Del, the selected block is 
moved from its original position and held in the Clipboard.  It is
pasted at the current cursor position when you choose the Paste
command.

Other Editing Commands

Options|AutoIndent toggles the automatic indenting of successive lines.

File|Open allows you to open an existing file for editing.  dBEdit uses
the file extension of the file you started it with as the default file
extension.

Exiting the dBEdit

Alt-X terminates the edit session and returns you to the calling program.
dBEdit will also exit when you have closed all the active windows by 
clicking on the window's close icon or by pressing Alt+F3.

dBEdit.EXE takes two parameters.  The first is a set of four values
that represent window coordinates.  The second is the name of the
file to edit.  If you do not specify the window coordinates, the
editor will show a full size window.  If you do not specify a file
name, the editor will use the name NONAME.PRG as a default.  For
example, in config.db, you can specify an editor to use for MODIFY
COMMAND with the TEDIT option.  Try adding this line to your
config.db file:

  TEDIT = DBEDIT 5 5 19 75

The next time that you start-up dBASE and issue the command, MODIFY
COMMAND, dBEdit will bring up your program file in a window.

dBEdit can support file sizes up to 64k.

New Features Since the Last Release
-----------------------------------
dBEdit now allows you to quickly navigate between PROCEDURE and
FUNCTIONS with a single key press.  Ctrl-B moves to the next PROCEDURE
or FUNCTION and Alt-B moves you to the previous one.

7. INTERNATIONAL ISSUES

- Install creates a configuration file named CONFIG.MFF.  If you have
  international setting in your current CONFIG.DB, you should move
  those settings to CONFIG.MFF.  These settings could include:
  
  LANGTABLES = ON
  LDCHECK    = ON
  ASCIISORT  = OFF
  DATE       = <date setting>
  CURRENCY   =
  MARK       =
  
  DBB sets LDCHECK = OFF in CONFIG.MFF.  This prevents the error:
  "Mismatched language driver for database".  Once you have finished
  with the samples, you should set LDCHECK back ON.



