CONTENTS Title Page Copyright Page Preface 1 Introduction to Programming in ALL-IN-1 1.1 Overview 1.2 Introduction to ALL-IN-1 Structure 1.3 Programming Considerations 1.4 Customization Management 2 Examples in This Book 2.1 Different Sorts of Example Used 2.2 Car Booking System 3 ALL-IN-1 Forms 3.1 Introduction 3.2 ALL-IN-1 Form Libraries 3.3 Named Data 3.3.1 Named Data Format 3.4 Form Qualifiers 3.5 Form CAR_MENU 3.5.1 Creating the Form 3.5.2 Editing the Form 3.5.3 Completing the Site Modification History Log 3.5.4 Using FMS to Edit CAR_MENU 3.6 Testing CAR_MENU 3.6.1 Default Named Data for CAR_MENU 3.6.2 Editing Named Data for CAR_MENU 3.7 Adding Options to CAR_MENU 3.8 For More Information 4 Different Kinds of ALL-IN-1 Form 4.1 Introduction 4.2 Defining a Form .TYPE 4.3 Using Entry Forms and Data Files Together 4.3.1 Entry Form Named Data 4.4 Entry Form CAR_ENTRY 4.4.1 Creating the Form 4.4.2 Editing the Form 4.4.3 Changing the Named Data 4.4.4 Modifying the Field Access Order 4.4.5 Creating a Data File to go with the Entry Form 4.4.6 Testing Form CAR_ENTRY 4.5 Creating Argument Form CAR_ARG 4.5.1 Testing Form CAR_ARG 4.6 Creating Index Form CAR_INDEX 4.6.1 Modifying the Fields on CAR_INDEX 4.6.2 Editing the Named Data for CAR_INDEX 4.6.3 Testing Form CAR_INDEX 4.7 Adding the Multiple Delete Option 4.8 For More Information 5 Field Processing 5.1 Introduction 5.2 Field Qualifiers 5.3 Field Qualifiers on CAR_MENU 5.3.1 Simple Validation of Fields 5.4 For More Information 6 Symbols 6.1 Introduction 6.2 Permanent Symbols 6.3 Temporary Symbols 6.4 ALL-IN-1 Special Symbols 6.5 Using Symbols in the Example Application 6.5.1 Saving the LICENSE Field from CAR_ENTRY 6.5.2 Copying the License Number to the Entry Form 6.5.3 Saving the LICENSE Field from CAR_ARG 6.6 For More Information 7 Scripts 7.1 Introduction 7.2 Different Types of Script 7.2.1 DO Scripts 7.2.2 SCRIPT Scripts 7.3 Script Directives 7.4 Using a Script for Multiple Delete 7.5 For More Information 8 Formatting Output Using Templates 8.1 Introduction 8.2 Example of a Simple Template 8.3 Template Directives 8.4 Using MERGE 8.5 Adding the Print Option to CAR_MENU 8.5.1 Creating Form CAR_PRINT 8.5.2 Adding the Header and Template Files 8.5.3 Adding Print Named Data to CAR_MENU 8.6 For More Information 9 What Next? 9.1 Changing the Create Option 9.2 Improving the Select Option 9.3 Improving Date and Time Validation 9.4 For More Information A Example of How to Change a Menu A.1 Creating the New Menu A.2 Testing Your New Menu B Accessing the Worked Examples B.1 Accessing the Boilerplates and Script B.2 Accessing the Forms FIGURES 1-1 Screen Image and Associated Programming 1-2 Application Running in the ALL-IN-1 Subprocess 1-3 Using File Cabinet Functions to Manipulate Files 1-4 Entry Form and Corresponding Data File 2-1 Form Structure for Car Details Part of the Application 3-1 Screen Image of Form CAR_MENU 3-2 FMS Initial Screen Display 4-1 Screen Image of Form CAR_ENTRY 4-2 Screen Image of Form CAR_ARG 4-3 Screen Image of CAR_INDEX TABLES 3-1 Common Form Qualifiers 3-2 Status Line Information on the FMS Editing Screen 3-3 Description of Default Named Data for CAR_MENU 4-1 Possible Values for the /MODE Qualifier 4-2 Field Names for Form CAR_ENTRY 4-3 Named Data for Form CAR_ARG 4-4 Named Data for Multiple Delete Option 5-1 Common Field Qualifiers 7-1 Common Script Directives 8-1 Template Directives 8-2 Named Data for Form CAR_PRINT 8-3 Named Data for Print Option on Form CAR_MENU