Lescasse Consulting
 Home    Company    News    Prices    Download    Buy    Forums   
Read Me
Buy
Forums
Resume
AntiSpam 1.2
wBackup 1.11
NetAccess 2.0
Visual APL 1.0 
APL+Win 8.0 
APL+Win Products 
APL+Win Objects™ 
APL+Win Training 
     • Packages
     • Feedback
     • World Map
     • Updates
     • Pack 1
     • Pack 2
     • Pack 3
     • Pack 4
     • Pack 5
     • Pack 6
     • Pack 7
     • Pack 8
     • Pack 9
     • Pack 10
     • Pack 11
     • Pack 12
     • Pack 13
     • Pack 14
APL+Web Services
APL+Web Component 
APL+ History
Dyalog.Net Tutorial
Conferences 
Powerpoint
White Papers
Web Hosting
References
Links
 
APL+Win Objects™ 6.0

TADO5
TADO5 Tutorial
TAPLDraw5
TAPLEdit5
TAPLSession5
TAbale5
TAboutBox5
TAccess5
TAgent5
TBlatMail5
TButton5
TCDO5
TCRC5
TCancelButton5
TCheck5
TCheckGroup5
TChildForm5
TChooseColor5
TChooseFont5
TClipBoard5
TClock5
TCodeStats5
TColors5
TCombo5
TComboDrive5
TComboFilter5
TComboList5
TComboTree5
TCommandBar5
TCommandButton5
TControlClass5
TCueCard5
TDHTML5
TDHTMLEditor5
TDateTime5
TDateTimeFr5
TDates5
TDemoHandlers5
TDisplay5
TDOS5
TDualSelect5
TEdit5
TEditAmount5
TEditDir5
TEditEnter5
TEditFile5
TEditGrid5
TEditList5
TEditListview5
TEditMenu5
TEditNum5
TEditSelect5
TEditSpin5
TEmail5
TError5
TExampleForm5
TExcel5
TExcel5 Tutorial
TFindReplace5
TFOne5
TFTP5
TFTP5 Tutorial
TFileCompare5
TFileMenu5
TFileMenuDef5
TFlatButton5
TForm5
TFormClass5
TFormEditor5
TFrame5
TGetDir5
TGif5
TGifForm5
TGifWb5
TGoMenu5
TGraphX5
TGrid5
TGridDisplay5
TGridPrint5
TGUID5
THLine5
THTML5
THTML5 Tutorial
THTTP5
THelp5
THelpMenu5
TImagelist5
TInfo5
TIniFile5
TInstall5
TInternet5
TJpg5
TJpgWb5
TLabel5
TList5
TListview5
TLock5
TLogs5
TMAPI5
TMath5
TMDIForm5
TMSOutlook5
TMaskEdit5
TMedia5
TMenu5
TMessage5
TModalCall5
TMsgBox5
TNavigator5
TNetwork5
TNonVisualClass5
TODBC5
TOKButton5
TObject5
TOpenFile5
TOption5
TOptionGroup5
TOutlook5
TOutlookMail5
TOWCSpread5
TPDF5
TPFKeys5
TPage5
TPassword5
TPicture5
TPing5
TPopupMenu5
TPowerpoint5
TPowerpoint5 Tutorial
TPrinter5
TProgress5
TProgressDlg5
TQuestion5
TRegistry5
TRegistryKey5
TResource5
TRichEdit5
TSPX5
TSQLDMO5
TScheduler5
TScroll5
TSelector5
TSpinner5
TSplitter5
TStatus5
TStopWatch5
TTest5
TTestError5
TTextFile5
TTimer5
TTip5
TTipForm5
TTLI5
TToolBar5
TToolbox5
TToolsMenu5
TTrackbar5
TTranslate5
TTree5
TVLine5
TViewMenu5
TWebBrowser5
TWebServer5
TWebSite5
TWebSiteNet5
TWinMenu5
TWord5
TYesNo5
    Visits:  1719 (48 on line) Last Update: Nov 23, 2003  
    APL+Win Training Pack 10    Printer Friendly  
Developing a Relational Database in APL+Win (part 2)

Download APL+Win Training Pack 10 (565 K)

This APL+Win Training Pack delivers many more APL+Win Relational Database tools.

The chore of the Relational Database Engine which we started to develop in the previous lesson is now complete.

With the August Training, you will get the following new tools:

  • enhanced data dictionary commands (List Tables, List Columns)
  • a cascading Delete command to logically remove records from tables (Delete)
  • a command to restore logically removed records (Undelete)
  • a command to physically remove logically deleted records (Pack)
  • a search tool to locate records in any table (Iota)
  • 2 low level data extracting utilities (Compress and Index)
  • a general query command allowing you to easily extract data from multiple tables in one run  (Join)
  • a command to batch update records in any table (Compress ... Assign)
  • a command to update individual table cells (Index ... Assign)
  • commands to move tables and columns in the data dictionary (Move Table ..., Move Column ...)
  • commands to rename tables and/or columns in your database (Rename Table ..., Rename Column ...)
  • a reverse engineering command to build a Make function to recreate your database (MakeDatabase)
  • a command to copy a table structure into a new table (Copy Table ...)
  • a Load command to create dynamic cascading input forms (Load)

As an example, here is a complex relational database query:
  


      Frame Join ordDate cliName supName proName 'orlQty×orlUnipr' From orl SortedBy proName Where stoNum Eq'11' 
---- ---------- -------- -------------- -------------------- ---------------
          Order Supplier Product  
Inds       Date Name     Name           Name                           expr1
---- ---------- -------- -------------- -------------------- ---------------
  20 1994/06/08 SWAIN    JUMANTEC CORP. BLACKLEAD PENCIL               15.00
  24 1994/06/08 DRESSLER JUMANTEC CORP. BLACKLEAD PENCIL               40.00
  23 1994/06/08 SWAIN    JUMANTEC CORP. FOUNTAIN-PEN                   15.00
  16 1994/06/06 GARNER   EQUIP2000 INC. LETTER-WEIGHT 1-500           200.00
  21 1994/06/08 SWAIN    JUMANTEC CORP. PEN                            15.00
  22 1994/06/08 SWAIN    JUMANTEC CORP. PENCIL                         15.00
  25 1994/06/08 DRESSLER JUMANTEC CORP. PENCIL                         40.00
  18 1994/06/07 DUXLER   ELECTROLAMP    RULE                          149.00
 15 1994/06/06 GARNER    ELECTROLAMP    SCISSORS                      149.00
 28 1994/06/10 DRESSLER  ROULAND CORP.  STAMP                          30.00
---- ---------- -------- -------------- ------------------- ----------------
        ordDate cliName  supName        proName              orlqty×orlunipr
---- ---------- -------- -------------- ------------------- ----------------

The above command executes almost instantaneously: it performs a Join between 5 different tables (orders [ord], clients [cli], suppliers [sup], products [pro] and order details [orl]) while extracting data based on a selection in a sixth table (stores [sto]). It also reports a calculated field (orlQty x orlUnipr) i.e. the quantity ordered times unit price) and sorts extracted data by product names.

With the Join command you can extract any combination of fields from any set of tables in your database, based on any selection criteria from any table in a natural manner close to natural language. The delivered database engine finds the table connections to use by itself.
 
August 1997 also delivers a powerful Load command for performing cascading relational input with dynamically created forms.
  
With Load you get an immediate sophisticated interface to enter data in your tables for any database you create.
  
Example:


      Load orl

This form is dynamically created by the the Load command. Fields which are in Bold correspond to Not Null columns. Fields which are noted within brackets are linked to other tables.
 
When in the [ Ordered Product ] field for example, press Alt+Enter and a menu showing the Primary Keys of the products table is displayed to let you select a product:

When you type letters in the toolbar edit field the menu list gets automatically restricted to those items containing the edit field sub-string.

If for some reason, the ordered product is not yet in the products table, simply click on the top left button and the products input form is created and displayed on the fly:

So you can create a new record in the products table an return later to your initial input form. Note that from the products input form you could hit Alt+Enter in the [ Product Supplier ] field to select a supplier and maybe add a new supplier to the suppliers table.

This is cascading relational input.

We hope you will enjoy this APL+Win Training Pack and that it will help you in your application developments.


Pack 10 Content

BUTTONS.BMP More than 100 images for your toolbar buttons.
DISK10.DOC An 73 pages Winword document containing Chapter 19 of the APL+Win Training.
TOOLKIT.W3 The second part of an APL+Win Relational Database Engine.
TOOLKIT.INI The Relational Database .INI file.
 This entire Web site has been dynamically generated by APL+Win Objects™ 6.0
 For all questions contact:  info@lescasse.com
 Copyright © 2003-2005 Lescasse Consulting. All rights reserved.