Dbase Plus 1 Table Designer Behavior

Dbase Plus 1 Table Designer Behavior

<p><strong>User’s Guide </strong></p><p>VERSION 7.5 </p><p><strong>®</strong></p><p><strong>release </strong></p><p>2.61 <sup style="top: -0.01em;"><strong>for Windows&nbsp;98, 2000, NT </strong></sup></p><p><strong>ME and XP </strong></p><p>dataBased Intelligence, Inc. <a href="/goto?url=http://www.dbase.com" target="_blank">http://www.dbase.com news://news.dbase.com </a><br>Vestal, NY </p><p>dataBased Intelligence, Inc. or Borland International may have patents and/or pending patent applications covering subject matter in this document. The furnishing of this document does not give you any license to these patents. </p><p>COPYRIGHT © 2006 dataBased Intelligence, Inc. All rights reserved. All dBASE product names are trademarks or registered trademarks of dataBased Intelligence, Inc. All Borland product names are trademarks or registered trademarks of Borland International, Inc. Other brand and product names are trademarks or registered trademarks of their respective holders. </p><p>Printed in the U.S.A. </p><p><strong>Contents </strong></p><p>Source Editor behavior&nbsp;. . . . . . . . . . . . . . . . . .10 </p><p>Chapter 1 </p><p>Table Designer behavior.&nbsp;. . . . . . . . . . . . . . . . .11 Optimized ReportViewer&nbsp;. . . . . . . . . . . . . . . . .11 <br>Overview of dBASE Plus version 2.5.&nbsp;. . . . . . . . . . . .11 <br>Mouse events&nbsp;. . . . . . . . . . . . . . . . . . . . . . .11 Grid Class&nbsp;. . . . . . . . . . . . . . . . . . . . . . . . .11 Project Explorer .&nbsp;. . . . . . . . . . . . . . . . . . . . .11 TreeView. . . . . . . . . . . . . . . . . . . . . . . . . .12 Array Class&nbsp;. . . . . . . . . . . . . . . . . . . . . . . .12 Report . . . . . . . . . . . . . . . . . . . . . . . . . . .12 Inspector .&nbsp;. . . . . . . . . . . . . . . . . . . . . . . . .12 _app Object&nbsp;. . . . . . . . . . . . . . . . . . . . . . . .12 _app.frameWin .&nbsp;. . . . . . . . . . . . . . . . . . . . .12 Procedure files .&nbsp;. . . . . . . . . . . . . . . . . . . . . .12 Report Designer .&nbsp;. . . . . . . . . . . . . . . . . . . . .12 Error Handling.&nbsp;. . . . . . . . . . . . . . . . . . . . . .12 CHOOSEPRINTER( ) and <em>choosePrinter</em>( )&nbsp;. . . . . . .13 <br>Overview of <em>dBASE Plus </em>version 2.6 .&nbsp;. . . . . . . . . . . .13 <br>Windows XP Themes&nbsp;. . . . . . . . . . . . . . . . . . .13 dBASE IDE&nbsp;. . . . . . . . . . . . . . . . . . . . . . . .13 Form Controls .&nbsp;. . . . . . . . . . . . . . . . . . . . . .13 New Image Class properties.&nbsp;. . . . . . . . . . . . . . .13 PushButton. . . . . . . . . . . . . . . . . . . . . . . . .14 Mouse Wheel Support .&nbsp;. . . . . . . . . . . . . . . . . .14 Grid . . . . . . . . . . . . . . . . . . . . . . . . . . . .14 Rectangle .&nbsp;. . . . . . . . . . . . . . . . . . . . . . . .14 MousePointer . . . . . . . . . . . . . . . . . . . . . . .14 GETFONT( )&nbsp;. . . . . . . . . . . . . . . . . . . . . . .14 ReportViewer . . . . . . . . . . . . . . . . . . . . . . .14 Error Dialog .&nbsp;. . . . . . . . . . . . . . . . . . . . . . .14 Exception Handling&nbsp;. . . . . . . . . . . . . . . . . . . .14 Reports. . . . . . . . . . . . . . . . . . . . . . . . . . .14 ListBox .&nbsp;. . . . . . . . . . . . . . . . . . . . . . . . .14 Enhanced Version Info in core product files.&nbsp;. . . . . . .14 Project Explorer .&nbsp;. . . . . . . . . . . . . . . . . . . . .15 <em>dBASE Plus </em>Installer. . . . . . . . . . . . . . . . . . . .15 Apache Configuration Wizard.&nbsp;. . . . . . . . . . . . . .15 <br>Overview of dBASE Plus version 2.61 .&nbsp;. . . . . . . . . . .15 <br>New Bundled ODBC Drivers .&nbsp;. . . . . . . . . . . . . .15 Streamlined client application deployment&nbsp;. . . . . . . .15 Database Class.&nbsp;. . . . . . . . . . . . . . . . . . . . . .15 Entryfield and SpinBox Classes .&nbsp;. . . . . . . . . . . . .15 Exception Handling/Security&nbsp;. . . . . . . . . . . . . . .15 Grid Class&nbsp;. . . . . . . . . . . . . . . . . . . . . . . . .15 Project Explorer .&nbsp;. . . . . . . . . . . . . . . . . . . . .16 Query Class&nbsp;. . . . . . . . . . . . . . . . . . . . . . . .16 Rowset Class.&nbsp;. . . . . . . . . . . . . . . . . . . . . . .16 Source Editor&nbsp;. . . . . . . . . . . . . . . . . . . . . . .16 Variant Support&nbsp;. . . . . . . . . . . . . . . . . . . . . .16 dQuery (Developer's Edition v3.03).&nbsp;. . . . . . . . . . .16 AgSum( )&nbsp;. . . . . . . . . . . . . . . . . . . . . . . . .16 ArgVector() . . . . . . . . . . . . . . . . . . . . . . . .17 Editor Class&nbsp;. . . . . . . . . . . . . . . . . . . . . . . .17 EntryField Class .&nbsp;. . . . . . . . . . . . . . . . . . . . .17 Form Class.&nbsp;. . . . . . . . . . . . . . . . . . . . . . . .17 Form Designer .&nbsp;. . . . . . . . . . . . . . . . . . . . . .17 <em>mousePointer </em>Property .&nbsp;. . . . . . . . . . . . . . . . .17 MSGBOX( ) .&nbsp;. . . . . . . . . . . . . . . . . . . . . . .18 </p><p><em>onMouseOver </em>/ <em>onMouseOut </em>Events . . . . . . . . . . .18 </p><p></p><ul style="display: flex;"><li style="flex:1"><strong>Introduction to dBASE Plus </strong></li><li style="flex:1"><strong>1</strong></li></ul><p></p><p>Welcome to dBASE Plus !.&nbsp;. . . . . . . . . . . . . . . . . . . .&nbsp;1 <br>What is dBASE Plus?&nbsp;. . . . . . . . . . . . . . . . . . . . .&nbsp;1 dBASE Newsgroups .&nbsp;. . . . . . . . . . . . . . . . . . . . .&nbsp;2 The dBASE Plus Knowledgebase: .&nbsp;. . . . . . . . . . . . . .&nbsp;2 <br>Changes from earlier versions .&nbsp;. . . . . . . . . . . . . . . . . .&nbsp;2 <br>Visual dBase 5.x through Visual dBase 7.0&nbsp;. . . . . . . . . .&nbsp;2 <br>Report objects and the integrated Report designer .&nbsp;. . . .&nbsp;3 Project Explorer&nbsp;. . . . . . . . . . . . . . . . . . . . . .&nbsp;3 Data objects.&nbsp;. . . . . . . . . . . . . . . . . . . . . . . .&nbsp;3 Visual designers&nbsp;. . . . . . . . . . . . . . . . . . . . . .&nbsp;3 ActiveX integration.&nbsp;. . . . . . . . . . . . . . . . . . . .&nbsp;4 The Inspector .&nbsp;. . . . . . . . . . . . . . . . . . . . . . .&nbsp;4 Full-featured Source editor .&nbsp;. . . . . . . . . . . . . . . .&nbsp;4 SQL designer .&nbsp;. . . . . . . . . . . . . . . . . . . . . . .&nbsp;4 BDE Administrator and database support&nbsp;. . . . . . . . .&nbsp;4 DBF7 file format features&nbsp;. . . . . . . . . . . . . . . . .&nbsp;4 Samples and sample viewer&nbsp;. . . . . . . . . . . . . . . .&nbsp;5 <br>Changes since Visual dBASE 7.0&nbsp;. . . . . . . . . . . . . . .&nbsp;5 <br>Form class properties .&nbsp;. . . . . . . . . . . . . . . . . . .&nbsp;6 Rowset class properties and methods.&nbsp;. . . . . . . . . . .&nbsp;6 _app object properties&nbsp;. . . . . . . . . . . . . . . . . . .&nbsp;6 app object property used to override Rowset SET SKIP behavior .&nbsp;. . . . . . . . . . . . . . . . . . . . . . . . .&nbsp;6 Date Functions&nbsp;. . . . . . . . . . . . . . . . . . . . . . .&nbsp;6 New Preprocessor identifier&nbsp;. . . . . . . . . . . . . . . .&nbsp;6 A few words about Source Aliasing and Dynamic External Objects . . . . . . . . . . . . . . . . . . . . . . . . . .&nbsp;6 DEO - Dynamic External Objects&nbsp;. . . . . . . . . . . . .&nbsp;7 Rowset class enhanced to support OODML version of SET SKIP behavior&nbsp;. . . . . . . . . . . . . . . . . . .&nbsp;7 New _app object property used to override Rowset SET SKIP behavior&nbsp;. . . . . . . . . . . . . . . . . . . . . .&nbsp;7 New error handling properties&nbsp;. . . . . . . . . . . . . . .&nbsp;7 Starting dBASE Plus or application .exe without using the BDE .&nbsp;. . . . . . . . . . . . . . . . . . . . . . . . . . .&nbsp;8 Startup optimizations for Web applications&nbsp;. . . . . . . .&nbsp;8 Change to command line for PLUSRun.exe .&nbsp;. . . . . . .&nbsp;8 <br>Overview of dBASE Plus version 2.0&nbsp;. . . . . . . . . . . . .&nbsp;9 dBASE Plus Server Side Web Components&nbsp;. . . . . . . .&nbsp;9 New Class.&nbsp;. . . . . . . . . . . . . . . . . . . . . . . . .&nbsp;9 Changes to the Command Line for PLUSrun.exe&nbsp;. . . . .&nbsp;9 Array class properties, events and methods&nbsp;. . . . . . . .&nbsp;9 Form class properties, events and methods.&nbsp;. . . . . . . .&nbsp;9 Grid class properties, events and methods&nbsp;. . . . . . . . .&nbsp;9 <br>Overview of dBASE Plus version 2.2&nbsp;. . . . . . . . . . . . 10 <br>New Project Explorer.&nbsp;. . . . . . . . . . . . . . . . . . 10 New Class.&nbsp;. . . . . . . . . . . . . . . . . . . . . . . . 10 Designer class properties, events and methods.&nbsp;. . . . . 10 Existing property now included in the ComboBox and Editor classes.&nbsp;. . . . . . . . . . . . . . . . . . . . 10 Existing property now included in the Listbox class .&nbsp;. . 10 GETFILE( ), PUTFILE( ) functions, and getFile ( ) method.&nbsp;. . . . . . . . . . . . . . . . . . . . 10 onNotify event&nbsp;. . . . . . . . . . . . . . . . . . . . . . 10 editorType property.&nbsp;. . . . . . . . . . . . . . . . . . . 10 Grid behavior .&nbsp;. . . . . . . . . . . . . . . . . . . . . . 10 Grid and Browse object behavior.&nbsp;. . . . . . . . . . . . 10 </p><p>iii <br>Printer Support&nbsp;. . . . . . . . . . . . . . . . . . . . . . 18 Project Explorer&nbsp;. . . . . . . . . . . . . . . . . . . . . 18 Query Class .&nbsp;. . . . . . . . . . . . . . . . . . . . . . . 18 QUIT Command&nbsp;. . . . . . . . . . . . . . . . . . . . . 18 Report Designer&nbsp;. . . . . . . . . . . . . . . . . . . . . 18 Rowset Class&nbsp;. . . . . . . . . . . . . . . . . . . . . . . 19 Runtime Application&nbsp;. . . . . . . . . . . . . . . . . . . 19 SAVE … LIKE / LIKE( ) / LIKEC( )&nbsp;. . . . . . . . . . 19 Source Editor .&nbsp;. . . . . . . . . . . . . . . . . . . . . . 19 SpinBox Class&nbsp;. . . . . . . . . . . . . . . . . . . . . . 19 StreamSource Class.&nbsp;. . . . . . . . . . . . . . . . . . . 19 Subform Class&nbsp;. . . . . . . . . . . . . . . . . . . . . . 20 Table View - Context Menu&nbsp;. . . . . . . . . . . . . . . 20 TreeView . . . . . . . . . . . . . . . . . . . . . . . . . 20 XP Theme Support .&nbsp;. . . . . . . . . . . . . . . . . . . 20 Create Table.&nbsp;. . . . . . . . . . . . . . . . . . . . . . . 20 Database Connection Wizard.&nbsp;. . . . . . . . . . . . . . 20 Datamodule Code Generation&nbsp;. . . . . . . . . . . . . . 20 Export Wizard&nbsp;. . . . . . . . . . . . . . . . . . . . . . 21 Import Wizard&nbsp;. . . . . . . . . . . . . . . . . . . . . . 21 Miscellaneous. . . . . . . . . . . . . . . . . . . . . . . 21 Multi-Table View .&nbsp;. . . . . . . . . . . . . . . . . . . . 22 One-Click Windows Application.&nbsp;. . . . . . . . . . . . 22 Parent/Child Wizard&nbsp;. . . . . . . . . . . . . . . . . . . 22 Reports . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Set Order Dialog&nbsp;. . . . . . . . . . . . . . . . . . . . . 22 SQL Expression Generation&nbsp;. . . . . . . . . . . . . . . 22 Star Filter .&nbsp;. . . . . . . . . . . . . . . . . . . . . . . . 23 Web Wizards&nbsp;. . . . . . . . . . . . . . . . . . . . . . . 23 XP Theme Support .&nbsp;. . . . . . . . . . . . . . . . . . . 23 dBASE Plus documentation .&nbsp;. . . . . . . . . . . . . . . . . . 23 <br>Typographical conventions.&nbsp;. . . . . . . . . . . . . . . . . 23 Documentation updates and additional information resources23 Software registration .&nbsp;. . . . . . . . . . . . . . . . . . . . 24 <br>The Project Explorer&nbsp;. . . . . . . . . . . . . . . . . . . . . . .34 <br>Starting a New Project&nbsp;. . . . . . . . . . . . . . . . . . . .34 <br>Adding an existing file:&nbsp;. . . . . . . . . . . . . . . . . .36 Creating a new file to add to the Project:&nbsp;. . . . . . . . .36 A few things to consider.&nbsp;. . . . . . . . . . . . . . . . .36 Translating the Project File line .&nbsp;. . . . . . . . . . . . .37 Converting the pathnames .&nbsp;. . . . . . . . . . . . . . . .37 Converting relative pathnames: .&nbsp;. . . . . . . . . . . . .37 Opening a .PRJ file in the dBASE Plus Source Editor: .&nbsp;.37 <br>Opening a Project .&nbsp;. . . . . . . . . . . . . . . . . . . . . .38 <br>The Details tab.&nbsp;. . . . . . . . . . . . . . . . . . . . . .38 The Source tab.&nbsp;. . . . . . . . . . . . . . . . . . . . . .38 The Viewer tab.&nbsp;. . . . . . . . . . . . . . . . . . . . . .38 <br>Creating an Application .&nbsp;. . . . . . . . . . . . . . . . . . .38 Creating a DEO Application&nbsp;. . . . . . . . . . . . . . . . .39 <br>DEO Folders.&nbsp;. . . . . . . . . . . . . . . . . . . . . . .39 Selecting the DEO Folder For Each File&nbsp;. . . . . . . . .39 Selecting the DEO folder for each file&nbsp;. . . . . . . . . .39 <br>Building the Executable.&nbsp;. . . . . . . . . . . . . . . . . . .40 .INI files .&nbsp;. . . . . . . . . . . . . . . . . . . . . . . . . . .40 Encrypted Tables&nbsp;. . . . . . . . . . . . . . . . . . . . . . .41 OCX and DLL controls .&nbsp;. . . . . . . . . . . . . . . . . . .41 Using Inno.&nbsp;. . . . . . . . . . . . . . . . . . . . . . . . . .41 <br>The Defaults tab .&nbsp;. . . . . . . . . . . . . . . . . . . . .42 The Files tab .&nbsp;. . . . . . . . . . . . . . . . . . . . . . .42 Flags Parameter (Files tab)&nbsp;. . . . . . . . . . . . . . . .43 The Menu Group tab.&nbsp;. . . . . . . . . . . . . . . . . . .46 The Runtime tab .&nbsp;. . . . . . . . . . . . . . . . . . . . .47 The License tab&nbsp;. . . . . . . . . . . . . . . . . . . . . .47 The BDE Settings tab&nbsp;. . . . . . . . . . . . . . . . . . .48 The INI tab.&nbsp;. . . . . . . . . . . . . . . . . . . . . . . .48 The Script tab&nbsp;. . . . . . . . . . . . . . . . . . . . . . .49 <br>Building the user interface&nbsp;. . . . . . . . . . . . . . . . . . . .49 Form design guidelines .&nbsp;. . . . . . . . . . . . . . . . . . . . .50 <br>Goal of form design .&nbsp;. . . . . . . . . . . . . . . . . . . . .50 Purpose of a form .&nbsp;. . . . . . . . . . . . . . . . . . . . . .50 Some guidelines for data entry forms .&nbsp;. . . . . . . . . . . .50 <br>Designing the form layout .&nbsp;. . . . . . . . . . . . . . . .51 <br>Guidelines for using the z-order.&nbsp;. . . . . . . . . . . . . . .51 <br>Creating a form .&nbsp;. . . . . . . . . . . . . . . . . . . . . . . . .52 Using the Form wizard .&nbsp;. . . . . . . . . . . . . . . . . . . . .52 Using the Form designer&nbsp;. . . . . . . . . . . . . . . . . . . . .52 .WFM file structure .&nbsp;. . . . . . . . . . . . . . . . . . . . . . .53 <br>Form class definition&nbsp;. . . . . . . . . . . . . . . . . . . . .54 How the contents are generated .&nbsp;. . . . . . . . . . . . . . .54 <br>Editing a .WFM file.&nbsp;. . . . . . . . . . . . . . . . . . . . . . .54 <br>Editing the header and bootstrap&nbsp;. . . . . . . . . . . . . . .55 Editing properties in the .WFM file.&nbsp;. . . . . . . . . . . . .55 <br>Types of form windows.&nbsp;. . . . . . . . . . . . . . . . . . . . .55 <br>MDI and SDI applications&nbsp;. . . . . . . . . . . . . . . . . .56 Modal and modeless windows&nbsp;. . . . . . . . . . . . . . . .56 Customizing the MDI form window&nbsp;. . . . . . . . . . . . .56 <br>Standard features of MDI windows:.&nbsp;. . . . . . . . . . .56 <br>Using multi-page forms.&nbsp;. . . . . . . . . . . . . . . . . . . . .57 <br>Global page (forms) .&nbsp;. . . . . . . . . . . . . . . . . . . . .57 Navigation buttons (form pages)&nbsp;. . . . . . . . . . . . . . .57 <br>Creating a custom form, report, or data module class&nbsp;. . . . . .58 Using a custom class&nbsp;. . . . . . . . . . . . . . . . . . . . . . .58 Creating custom components .&nbsp;. . . . . . . . . . . . . . . . . .59 <br>Creating custom components .&nbsp;. . . . . . . . . . . . . . . .59 Adding custom components to the Component palette .&nbsp;. . .60 Removing custom components from the Component palette.60 </p><p>Chapter 2 </p><p><strong>Installing dBASE Plus and connecting </strong></p><ul style="display: flex;"><li style="flex:1"><strong>to an SQL database server </strong></li><li style="flex:1"><strong>25 </strong></li></ul><p></p><p>What you need to run dBASE Plus&nbsp;. . . . . . . . . . . . . . . 25 <br>HARDWARE .&nbsp;. . . . . . . . . . . . . . . . . . . . . . 25 OPERATING SYSTEM&nbsp;. . . . . . . . . . . . . . . . . 25 NETWORKS .&nbsp;. . . . . . . . . . . . . . . . . . . . . . 25 <br>Products and programs in your dBASE Plus package.&nbsp;. . . . . 26 Installing dBASE Plus .&nbsp;. . . . . . . . . . . . . . . . . . . . . 26 What happens during installation&nbsp;. . . . . . . . . . . . . . . . 26 Un-installing dBASE Plus .&nbsp;. . . . . . . . . . . . . . . . . . . 27 How to connect to an SQL database server&nbsp;. . . . . . . . . . . 27 <br>Install and configure the server software.&nbsp;. . . . . . . . . . 27 Configure the Borland Database Engine (BDE) .&nbsp;. . . . . . 28 Listing SQL tables in the Navigator .&nbsp;. . . . . . . . . . . . 28 </p><p>Chapter 3 </p><p><strong>Introduction to programming in dBL 29 </strong></p><p>"Hard coding" vs. visual programming&nbsp;. . . . . . . . . . . . . 29 Advantages of event-driven programs.&nbsp;. . . . . . . . . . . . . 29 How event-driven programs work .&nbsp;. . . . . . . . . . . . . . . 30 Developing event-driven programs&nbsp;. . . . . . . . . . . . . . . 32 </p><p>Chapter 4 </p><p></p><ul style="display: flex;"><li style="flex:1"><strong>Creating an application </strong></li><li style="flex:1"><strong>33 </strong></li></ul><p></p><p>Creating an application (basic steps)&nbsp;. . . . . . . . . . . . . . 33 iv <br>Selecting components .&nbsp;. . . . . . . . . . . . . . . . . . . .84 Moving components.&nbsp;. . . . . . . . . . . . . . . . . . . . .85 Cutting, copying, pasting, deleting components&nbsp;. . . . . . .85 Undoing and redoing in the designers.&nbsp;. . . . . . . . . . . .85 Aligning components .&nbsp;. . . . . . . . . . . . . . . . . . . .85 Resizing components&nbsp;. . . . . . . . . . . . . . . . . . . . .85 Spacing components&nbsp;. . . . . . . . . . . . . . . . . . . . .87 <br>Setting a scheme (Form designer)&nbsp;. . . . . . . . . . . . . . . .87 Editing a Text object&nbsp;. . . . . . . . . . . . . . . . . . . . . . .88 Saving, running, and printing forms and reports .&nbsp;. . . . . . . .88 <br>Opening a form or report in Run mode .&nbsp;. . . . . . . . . . .88 Printing a form or report&nbsp;. . . . . . . . . . . . . . . . . . .88 </p><p>Chapter 5 </p><p></p><ul style="display: flex;"><li style="flex:1"><strong>Accessing and linking tables </strong></li><li style="flex:1"><strong>62 </strong></li></ul><p></p><p>The dBASE data model&nbsp;. . . . . . . . . . . . . . . . . . . . . 62 <br>Query objects.&nbsp;. . . . . . . . . . . . . . . . . . . . . . . . 62 <br>SQL property .&nbsp;. . . . . . . . . . . . . . . . . . . . . . 63 rowset property .&nbsp;. . . . . . . . . . . . . . . . . . . . . 63 <br>Rowset objects .&nbsp;. . . . . . . . . . . . . . . . . . . . . . . 63 <br>The row cursor and navigation .&nbsp;. . . . . . . . . . . . . 63 Rowset modes&nbsp;. . . . . . . . . . . . . . . . . . . . . . 64 Rowset events.&nbsp;. . . . . . . . . . . . . . . . . . . . . . 64 Row buffer&nbsp;. . . . . . . . . . . . . . . . . . . . . . . . 64 <br>Field objects&nbsp;. . . . . . . . . . . . . . . . . . . . . . . . . 64 value property.&nbsp;. . . . . . . . . . . . . . . . . . . . . . 64 Using dataLinks&nbsp;. . . . . . . . . . . . . . . . . . . . . 65 <br>Database objects&nbsp;. . . . . . . . . . . . . . . . . . . . . . . 65 <br>Accessing a database .&nbsp;. . . . . . . . . . . . . . . . . . 65 Database-level security .&nbsp;. . . . . . . . . . . . . . . . . 65 Database-level methods&nbsp;. . . . . . . . . . . . . . . . . 65 Default Database object&nbsp;. . . . . . . . . . . . . . . . . 65 <br>Session objects .&nbsp;. . . . . . . . . . . . . . . . . . . . . . . 65 StoredProc objects .&nbsp;. . . . . . . . . . . . . . . . . . . . . 66 DataModRef objects .&nbsp;. . . . . . . . . . . . . . . . . . . . 66 <br>Linking a form or report to tables .&nbsp;. . . . . . . . . . . . . . . 66 <br>Linking to a table automatically .&nbsp;. . . . . . . . . . . . . . 67 Linking to a table manually&nbsp;. . . . . . . . . . . . . . . . . 67 Procedure for using a Session object.&nbsp;. . . . . . . . . . . . 68 Calling a stored procedure .&nbsp;. . . . . . . . . . . . . . . . . 68 <br>Using local and remote tables together&nbsp;. . . . . . . . . . . . . 68 Creating master-detail relationships (overview).&nbsp;. . . . . . . . 68 <br>Using an SQL JOIN statement .&nbsp;. . . . . . . . . . . . . 69 Linking master-detail in local tables .&nbsp;. . . . . . . . . . 70 Using the masterSource property.&nbsp;. . . . . . . . . . . . 70 <br>What is a DataModule?&nbsp;. . . . . . . . . . . . . . . . . . . . . 70 <br>Creating a DataModule.&nbsp;. . . . . . . . . . . . . . . . . . . 71 <br>Creating business rules in a DataModule.&nbsp;. . . . . . . . 72 <br>Using a DataModule .&nbsp;. . . . . . . . . . . . . . . . . . . . 72 </p><p>Chapter 7 </p><p></p><ul style="display: flex;"><li style="flex:1"><strong>Creating menus and toolbars </strong></li><li style="flex:1"><strong>90 </strong></li></ul><p></p><p>Attaching pulldown menus to forms&nbsp;. . . . . . . . . . . . . . .90 Attaching popup menus to forms .&nbsp;. . . . . . . . . . . . . . . .90 Creating toolbars and attaching them to forms .&nbsp;. . . . . . . . .91 <br>Creating a reusable toolbar&nbsp;. . . . . . . . . . . . . . . . . .91 Attaching a reusable toolbar&nbsp;. . . . . . . . . . . . . . . . .91 Creating a custom toolbar .&nbsp;. . . . . . . . . . . . . . . . . .92 <br>Creating menus with the designers .&nbsp;. . . . . . . . . . . . . . .93 <br>The designer menu&nbsp;. . . . . . . . . . . . . . . . . . . . . .93 Building blocks&nbsp;. . . . . . . . . . . . . . . . . . . . . . . .93 Adding, editing and navigating .&nbsp;. . . . . . . . . . . . . . .94 Features demonstration&nbsp;. . . . . . . . . . . . . . . . . . . .94 <br>Examining menu file code&nbsp;. . . . . . . . . . . . . . . . . . . .95 <br>Changing menu properties on the fly .&nbsp;. . . . . . . . . . . .97 <br>Menu and menu item properties, events and methods&nbsp;. . . . . .97 Toolbar and toolbutton properties, events and methods&nbsp;. . . . .99 </p><p>Chapter 8 </p><p><strong>Using the Source editor and other </strong></p><ul style="display: flex;"><li style="flex:1"><strong>code tools </strong></li><li style="flex:1"><strong>101 </strong></li></ul><p></p><p>Using the Source editor.&nbsp;. . . . . . . . . . . . . . . . . . . .&nbsp;101 <br>Two-pane window with tree view.&nbsp;. . . . . . . . . . . . .&nbsp;102 Notes on the Source editor&nbsp;. . . . . . . . . . . . . . . . .&nbsp;102 <br>Creating a new method .&nbsp;. . . . . . . . . . . . . . . . . . . .&nbsp;103 The Code Block Builder for editing code blocks.&nbsp;. . . . . . .&nbsp;103 <br>To create or edit a codeblock&nbsp;. . . . . . . . . . . . . . . .&nbsp;103 <br>Editing an existing code block.&nbsp;. . . . . . . . . . . . .&nbsp;104 <br>The Command window .&nbsp;. . . . . . . . . . . . . . . . . . . .&nbsp;104 <br>Typing and executing commands .&nbsp;. . . . . . . . . . . . .&nbsp;105 <br>Executing a block of commands.&nbsp;. . . . . . . . . . . .&nbsp;105 Reusing commands&nbsp;. . . . . . . . . . . . . . . . . . .&nbsp;105 <br>Editing in the Command window .&nbsp;. . . . . . . . . . . . .&nbsp;105 <br>Saving commands into programs&nbsp;. . . . . . . . . . . .&nbsp;106 </p><p>Chapter 6 </p><p><strong>Using the Form and Report </strong></p><ul style="display: flex;"><li style="flex:1"><strong>designers </strong></li><li style="flex:1"><strong>73 </strong></li></ul><p></p><p>The designer windows .&nbsp;. . . . . . . . . . . . . . . . . . . . . 73 Design and Run modes&nbsp;. . . . . . . . . . . . . . . . . . . . . 74 <br>The Form Design Window .&nbsp;. . . . . . . . . . . . . . . . . 74 The Report Design window&nbsp;. . . . . . . . . . . . . . . . . 75 The visual design is reflected in your code&nbsp;. . . . . . . . . 75 <br>Component palette .&nbsp;. . . . . . . . . . . . . . . . . . . . . . . 75 <br>Standard page&nbsp;. . . . . . . . . . . . . . . . . . . . . . . . 76 Data Access page.&nbsp;. . . . . . . . . . . . . . . . . . . . . . 78 Data Buttons page (forms) .&nbsp;. . . . . . . . . . . . . . . . . 78 Report page.&nbsp;. . . . . . . . . . . . . . . . . . . . . . . . . 79 Custom page&nbsp;. . . . . . . . . . . . . . . . . . . . . . . . . 79 Using ActiveX (*.OCX) controls&nbsp;. . . . . . . . . . . . . . 79 <br>The Field palette .&nbsp;. . . . . . . . . . . . . . . . . . . . . . . . 80 The Inspector&nbsp;. . . . . . . . . . . . . . . . . . . . . . . . . . 80 <br>Properties page of the Inspector&nbsp;. . . . . . . . . . . . . . . 81 Events page of the Inspector .&nbsp;. . . . . . . . . . . . . . . . 82 Methods page of the Inspector .&nbsp;. . . . . . . . . . . . . . . 83 The Method menu&nbsp;. . . . . . . . . . . . . . . . . . . . . . 83 <br>Manipulating components .&nbsp;. . . . . . . . . . . . . . . . . . . 83 <br>Placing components on a form or report .&nbsp;. . . . . . . . . . 84 Special case: container components&nbsp;. . . . . . . . . . . . . 84 </p>

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    236 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us