?Y M Y V I S U a L D a T a B A
Total Page:16
File Type:pdf, Size:1020Kb
My Visual Database Copyright © 2002-2021 by Drive Software Company. All Rights Reserved. My Visual Database Table of contents About My Visual Database ................................................................................... 7 How it works? ................................................................................................... 8 Using DBMS MySQL .......................................................................................... 10 Database design ............................................................................................... 12 Introduction ................................................................................................ 12 Data types ................................................................................................... 13 Database schema ......................................................................................... 18 User interface designer ..................................................................................... 19 Introduction ................................................................................................ 19 Button actions .............................................................................................. 20 Introduction ............................................................................................ 21 Search .................................................................................................... 21 New record .............................................................................................. 23 Save record ............................................................................................. 23 Show record ............................................................................................ 24 Delete record ........................................................................................... 25 SQL query ............................................................................................... 26 Report .................................................................................................... 28 How to print a record ........................................................................... 28 How to print a simple list ...................................................................... 32 How to print a master-detail report ........................................................ 40 How to print a master-detail report with grouping .................................... 50 Report (SQL) ........................................................................................... 62 Show form .............................................................................................. 65 Close form .............................................................................................. 65 Open in Excel .......................................................................................... 66 User interface components ............................................................................ 66 Label ...................................................................................................... 67 Button ..................................................................................................... 68 Edit ........................................................................................................ 69 Filter ................................................................................................... 71 Memo ..................................................................................................... 71 RichEdit .................................................................................................. 72 CheckBox ................................................................................................ 73 DateTimePicker ........................................................................................ 74 property Calendar ................................................................................ 75 property Filter ...................................................................................... 75 property Format ................................................................................... 76 Calendar ................................................................................................. 77 ComboBox .............................................................................................. 78 property ParentComboBox .................................................................... 79 TableGrid ................................................................................................ 80 property AppearanceOptions ................................................................. 82 property Options .................................................................................. 82 property Settings .................................................................................. 83 Column setting .................................................................................... 85 Counter ................................................................................................... 87 2 / 222 My Visual Database DBFile ..................................................................................................... 88 CopyTo ............................................................................................... 89 DBImage ................................................................................................. 89 TreeView ................................................................................................. 90 property Settings .................................................................................. 92 Map ........................................................................................................ 94 MarkerIcon .......................................................................................... 96 MarkerInfoHTML .................................................................................. 97 FormMarker ......................................................................................... 97 Image ..................................................................................................... 97 PageControl ............................................................................................. 98 GroupBox ................................................................................................ 99 Panel .................................................................................................... 100 property Anchors ................................................................................... 101 Access control ................................................................................................ 102 Introduction ............................................................................................... 102 Setting up Roles ......................................................................................... 102 Setting up the user interface ........................................................................ 103 Setting up columns in the TableGrid component ............................................ 105 Access Control to Information ...................................................................... 106 Users creation ............................................................................................ 108 Web access via browser ................................................................................... 110 Webgrid .................................................................................................... 110 Script ............................................................................................................ 111 Introduction ............................................................................................... 112 Pascal language .......................................................................................... 113 Component Properties, Methods and Events .................................................. 113 Form ..................................................................................................... 113 BorderIcons ....................................................................................... 115 BorderStyle ........................................................................................ 115 TControlScrollBar ............................................................................... 116 Label ..................................................................................................... 117 Button ................................................................................................... 117 OnClick ............................................................................................. 119 Edit ....................................................................................................... 120 Memo ................................................................................................... 122 RichEdit ................................................................................................. 124 AddHotPicture .................................................................................... 127 AddHyperlink ..................................................................................... 127 AddNL .............................................................................................. 128 AddPicture ........................................................................................