SlideShare une entreprise Scribd logo
1  sur  32
Building a User Interface
       with Forms
Creating Simple Forms
 Creates a readymade form based on a table or
  query:
 − In the navigation pane, select the table or
   query use to generate the form.
 − Choose Create ➝ Forms ➝ Form.
Using Forms
 Finding and Editing a Record
 Adding a Record
 Deleting a Record
 Printing Records
 Sorting and Filtering in a Form
 − Quick filter
 − Filter by selection
 − Filter by condition
 − Advanced filters
More Useful Form Properties
 The Property Sheet to change the view of your
  form, letting an ordinary form show multiple
  items or a split view.
 However, the Property Sheet is packed with
  many more settings.
      (reference to Table 12-2, Page 396)
The Form Wizard
 The Form wizard asks you a series of questions
  and then builds a form to match.
 − Choose Create ➝ Forms ➝ Form Wizard.
 − From the drop-down list, choose the table you
   want to use.
 − Add the fields you want to include, click Next.
 − Choosea layout option for your form.
The Form Wizard
 Layout options include:
 − Columnar similar to clicking Create ➝ Forms
   ➝ Form on the ribbon.
 − Tabular similar to clicking Create ➝ Forms ➝
   More Forms ➝ Multiple Items in the ribbon.
 − Datasheet creates a datasheet form. It’s
   similar to selecting Create ➝ Forms ➝ More
   Forms ➝ Datasheet in the ribbon.
Designing Advanced Forms
 Customizing Forms in Design View:
 − Create a form in Layout view: Choose Create
   Forms  Blank Form.
 − Drag the fields from the Field List pane into
   form.
 − Create a form in Design view. Choose Create
    Forms Form Design. Start with a blank
   form in the design window.
 − Drag fields from the Field List pane into form.
Form Sections
 Newly created forms start with only one
  section: the Details section, which defines the
  content for each record.
Form Sections
 To add a title or logo at the top of form, or some
  sort of summary information or message at the
  bottom, must include a header and footer
  section.
 To add these elements to form, right-click
  anywhere on the form’s surface, and then
  choose Page Header/Footer.
Adding Controls to Your Form
 To add a control, follow these steps:
  − Head to the ribbon’s Form Design Tools
      Design Controls section.
  −   Optionally, switch on the Use Control Wizards
      button.
  −   Click the icon for the control you want.
  −   To place your control on the form, drag the
      mouse cursor to draw the control on the form.
  −   If control has a Control wizard and use
      Control Wizards, the wizard appears now.
Adding Controls to Your Form
 − If you’re adding a label, supply some text for
   the control.
 − Change the appropriate settings in the
   Property Sheet.
 − Give control a better name by setting the
   Name property.
 − Format your control.
 Form controls (reference Table 13-1. Page 407)
Arranging Controls on Form
 Working with controls in Design view:
 − Create a control: Select the control you
     want, and then draw it in the right place.
 −   Move a control: Just click and drag it. You can
     also move several controls at Once.
 −   Resize a control: Drag the edges of the
     rectangle that surrounds it.
 −   Modify a control: Select control and set
     property in the Property Sheet.
 −   Delete a control: Select it  press Delete
Arranging Controls on Form
 Aligning controls:
 − Select the control, right-click
 − Choose an option in the Align submenu




 − Or select Arrange  Align
Arranging Controls on Form
 Sizing controls:
 − Select    the   controls,    right-click   the
   selection, choose an option from the Size
   menu.
 − Use To Widest to make all the controls as wide
   as the widest one of the bunch.
 Spacing controls:
 − To modify the space appears between the
   controls:
Arranging Controls on Form
− Select all the controls  Form Design Tools |
  Arrange ➝ Sizing & Ordering ➝Size /Space
  menu.
− Select the commands to adjust the spacing
  between controls:
  Equal Horizontal.
  Equal Vertical.
  Increase Horizontal and Increase Vertical.
  Decrease Horizontal and Decrease Vertical.
Anchoring: Automatically Resizing
Controls
 Normally, the controls have a fixed, unchanging
  size. Fixed size controls make for easy
  design, but they’re inflexible.
 Anchoring lets you create controls that can
  grow to fill extra space when the Access
  window is resized.
Anchoring: Automatically Resizing
Controls
 Making controls as wide as the form
 − In Design view, shrink the width of the Details
   section so it’s just wide enough to fit controls.
 − Choose the controls that you want to expand
   along with the window’s size.
 − Choose Form Design Tools Arrange 
   Position  Anchoring  Stretch Across Top.
Taking Control of Controls
 Locking Down Fields: Every bound control
  provides the following two properties that you
  can use to control editing by using the Property
  Sheet in Design view.
 − Locked determines whether you can make
   changes in a field.
 − Enabled lets you deactivate a control
   altogether.
Taking Control of Controls
 Prevent Errors with Validation:
 − Validation Rule sets an expression that the
   value must meet to be considered valid.
 − Validation Text.
 − Input Mask.
 − Default Value
Performing Calculations with
Expressions
 To create an expression on form:
 − Add a text box control to your form
 − In the Property Sheet, choose the Data tab.
   Place expression in the Control Source setting.
 − Optionally, set Enabled to No to hammer home
   the point that this value can’t be edited.
 − Optionally, apply formatting.
Organizing with Tab Controls
 Tab control is used:
 − Present large amounts of content in a limited
   space. Organize this content into separate
   pages. At a time, can see only one page.
 − In forms that are primarily designed for
   editing or reviewing data, data can be
   subdivided into logical groups, and editing
   tasks often involve just one group.
Organizing with Tab Controls
 To use a tab control, follow these steps:
 In the ribbon’s Form Design Tools  Design
  Controls section , click the Tab Control.
 Draw the tab control onto form
 Every new tab control starts with two pages.
 − To create a new page, right-click any tab and
   choose Insert Page.
 − To remove an existing page, right-click it and
   choose Delete Page.
 Place controls on the different pages.
Navigating with Lists
 There are two list controls in Access forms: the
  list box and the combo box.
 There are two ways to use list controls:
 − Use to edit a field. Access automatically
    creates a combo box control when there’s a
    lookup defined for the field
 − Use to navigate to the record, the list shows
    the field value for every record in the table.
    When choose one of the values, Access jumps
    to the corresponding record.
Navigating with Lists
 Create List control:
 − Make sure the Control Wizard feature is
     turned on.
 −   In Form Design Tools  Design  Controls
     section, click List Box or Combo Box.
 −   Draw the control on the form.
 −   Choose “Find a record on my form” Next.
 −   Choose the field you want to use for the
     lookup  Next.
 −   Enter a caption for list  Finish
Command Buttons
 Command buttons let you trigger just about any
  action, like opening a new form, printing a
  report…
 Crate Button by using wizard:
 − In the ribbon’s Form Design Tools Design 
   Controls section, click the Button.
 − Draw the button into form.
Command Buttons
− Choose one of the actions:
    Record Navigation
  Record Operations
  Form Operations
  Report Operations
  Application
  Miscellaneous
− Click Next
− Enter some text and choose a picture  Next
− Supply a name for the button  Finish
The Sub form Control
 The sub form control shows linked records
 Three properties determine what the sub form
  control shows:
 − The Source Object property identifies the
   object in the database that has the related
   records.
 − Link Master Fields: is the field in the form.
 − Link Child Fields: is the field in the source
   object.
Navigation Forms
 Creating a Single-Level Navigation Form:
 − To create navigation form, pick one of the top
   three options from the Create ➝ Forms ➝
   Navigation menu.
 − To add a navigation button for one of
   forms, click the form in navigation pane, and
   drag it into the navigation     control.
 − If want to change the navigation button
   caption, double-click the caption and type the
   new name.
Navigation Forms
 Creating a Two-Level Navigation Form:
 − To create navigation form, pick one of the
    bottom three options from the Create ➝
    Forms ➝ Navigation menu.
Navigation Forms
− Add a heading for your top-level menu by click
  “[Add New]” and type in a new caption.
− To add the submenu for this heading, drag a
  form from the navigation pane into the
  submenu.
Linking to Related Data
 Showing Linked Records in Separate Forms: By
  adding a button to form that pops open another
  form with the linked records
 − Open the parent form in Design view.
 − Click the Button icon, and draw the button
    onto form.
 − Choose the Form Operations  Open
    Form, Next.
 − Choose the child form that has the related
    records , Next.
Linking to Related Data
− Choose “Open the form and find specific data to
    display” Next.
−   In the list on the left, choose the unique
    identifying field from the first table.
−    In the list on the right, choose the matching
    field from the second table.
−   Click the two-way arrow button  Next
−   Finish.

Contenu connexe

Tendances

Creating Purcahse Orders
Creating Purcahse OrdersCreating Purcahse Orders
Creating Purcahse OrdersEMAINT
 
Access2013 ch03
Access2013 ch03Access2013 ch03
Access2013 ch03xtin101
 
Fomatting Text Tips
Fomatting Text TipsFomatting Text Tips
Fomatting Text TipsEMAINT
 
Work Order Level 1
Work Order Level 1Work Order Level 1
Work Order Level 1EMAINT
 
Excel Chapter 02
Excel Chapter 02Excel Chapter 02
Excel Chapter 02xtin101
 
Navigation Tab
Navigation TabNavigation Tab
Navigation TabEMAINT
 
Getting Started Guide
Getting Started GuideGetting Started Guide
Getting Started GuideEMAINT
 
Data presentation and reporting cognos tm1
Data presentation and reporting cognos tm1Data presentation and reporting cognos tm1
Data presentation and reporting cognos tm1veeracynixit
 
Microsoft Project 2003 Configuration Training Level 2 Itvamp 2007
Microsoft Project 2003 Configuration Training Level 2 Itvamp 2007Microsoft Project 2003 Configuration Training Level 2 Itvamp 2007
Microsoft Project 2003 Configuration Training Level 2 Itvamp 2007ITVAMP, LLC
 
Gl13 m6-c4-presentation
Gl13 m6-c4-presentationGl13 m6-c4-presentation
Gl13 m6-c4-presentationTracie King
 
CTG Proprietary Trading Platform - User Manual 2020
CTG Proprietary Trading Platform - User Manual 2020CTG Proprietary Trading Platform - User Manual 2020
CTG Proprietary Trading Platform - User Manual 2020Peter Wises
 
Excel Chapter 03
Excel Chapter 03Excel Chapter 03
Excel Chapter 03xtin101
 
Lsmw for master data upload simple explanation
Lsmw for master data upload simple explanationLsmw for master data upload simple explanation
Lsmw for master data upload simple explanationManoj Kumar
 
Microsoft access exercises
Microsoft access exercisesMicrosoft access exercises
Microsoft access exercisessarahandaiza
 
Dynamics CRM 2013: Create or customize dashboards
Dynamics CRM 2013: Create or customize dashboardsDynamics CRM 2013: Create or customize dashboards
Dynamics CRM 2013: Create or customize dashboardsVinh Nguyen
 
SAP2000 Piperack Tutorial 2010.pdf
SAP2000 Piperack Tutorial 2010.pdfSAP2000 Piperack Tutorial 2010.pdf
SAP2000 Piperack Tutorial 2010.pdfsdads1
 

Tendances (20)

Creating Purcahse Orders
Creating Purcahse OrdersCreating Purcahse Orders
Creating Purcahse Orders
 
Access2013 ch03
Access2013 ch03Access2013 ch03
Access2013 ch03
 
Fomatting Text Tips
Fomatting Text TipsFomatting Text Tips
Fomatting Text Tips
 
Excel ch09
Excel ch09Excel ch09
Excel ch09
 
Work Order Level 1
Work Order Level 1Work Order Level 1
Work Order Level 1
 
Excel Chapter 02
Excel Chapter 02Excel Chapter 02
Excel Chapter 02
 
Navigation Tab
Navigation TabNavigation Tab
Navigation Tab
 
Access2013 ch10
Access2013 ch10Access2013 ch10
Access2013 ch10
 
Report designer
Report designerReport designer
Report designer
 
Getting Started Guide
Getting Started GuideGetting Started Guide
Getting Started Guide
 
Data presentation and reporting cognos tm1
Data presentation and reporting cognos tm1Data presentation and reporting cognos tm1
Data presentation and reporting cognos tm1
 
Microsoft Project 2003 Configuration Training Level 2 Itvamp 2007
Microsoft Project 2003 Configuration Training Level 2 Itvamp 2007Microsoft Project 2003 Configuration Training Level 2 Itvamp 2007
Microsoft Project 2003 Configuration Training Level 2 Itvamp 2007
 
Gl13 m6-c4-presentation
Gl13 m6-c4-presentationGl13 m6-c4-presentation
Gl13 m6-c4-presentation
 
Excel ch08
Excel ch08Excel ch08
Excel ch08
 
CTG Proprietary Trading Platform - User Manual 2020
CTG Proprietary Trading Platform - User Manual 2020CTG Proprietary Trading Platform - User Manual 2020
CTG Proprietary Trading Platform - User Manual 2020
 
Excel Chapter 03
Excel Chapter 03Excel Chapter 03
Excel Chapter 03
 
Lsmw for master data upload simple explanation
Lsmw for master data upload simple explanationLsmw for master data upload simple explanation
Lsmw for master data upload simple explanation
 
Microsoft access exercises
Microsoft access exercisesMicrosoft access exercises
Microsoft access exercises
 
Dynamics CRM 2013: Create or customize dashboards
Dynamics CRM 2013: Create or customize dashboardsDynamics CRM 2013: Create or customize dashboards
Dynamics CRM 2013: Create or customize dashboards
 
SAP2000 Piperack Tutorial 2010.pdf
SAP2000 Piperack Tutorial 2010.pdfSAP2000 Piperack Tutorial 2010.pdf
SAP2000 Piperack Tutorial 2010.pdf
 

En vedette

En vedette (6)

Compass Financial The Navigator Fall 2007
Compass Financial The Navigator Fall 2007Compass Financial The Navigator Fall 2007
Compass Financial The Navigator Fall 2007
 
50 MOMENTOS
50 MOMENTOS50 MOMENTOS
50 MOMENTOS
 
Ecologia
EcologiaEcologia
Ecologia
 
Ecologia
EcologiaEcologia
Ecologia
 
Ecologia
EcologiaEcologia
Ecologia
 
Tequila Y Sal
Tequila Y SalTequila Y Sal
Tequila Y Sal
 

Similaire à 005.form

MS Access Ch 3 PPT
MS Access Ch 3 PPTMS Access Ch 3 PPT
MS Access Ch 3 PPTprsmith72
 
Management of database information system
Management of database information systemManagement of database information system
Management of database information systemKAZEMBETVOnline
 
A. Lab # BSBA BIS245A-7B. Lab 7 of 7 Database Navigation.docx
A. Lab #  BSBA BIS245A-7B. Lab 7 of 7  Database Navigation.docxA. Lab #  BSBA BIS245A-7B. Lab 7 of 7  Database Navigation.docx
A. Lab # BSBA BIS245A-7B. Lab 7 of 7 Database Navigation.docxransayo
 
E book Microsoft Dynamics CRM 2013 Personal Dashboard for End Users
E book Microsoft Dynamics CRM 2013 Personal Dashboard for End UsersE book Microsoft Dynamics CRM 2013 Personal Dashboard for End Users
E book Microsoft Dynamics CRM 2013 Personal Dashboard for End UsersAileen Gusni
 
Tài liệu tự học Family trong Revit (phần 2)
Tài liệu tự học Family trong Revit (phần 2)Tài liệu tự học Family trong Revit (phần 2)
Tài liệu tự học Family trong Revit (phần 2)congnghebim
 
ACTG Tableau intro labDownload the TableauLab file and look ov.docx
ACTG   Tableau intro labDownload the TableauLab file and look ov.docxACTG   Tableau intro labDownload the TableauLab file and look ov.docx
ACTG Tableau intro labDownload the TableauLab file and look ov.docxnettletondevon
 
03. data forms in hyperion planning
03. data forms in hyperion planning03. data forms in hyperion planning
03. data forms in hyperion planningepmvirtual.com
 
How to Navigate PerformancePoint 2010 Dashboards and Explore Data - EPC Group
How to Navigate PerformancePoint 2010 Dashboards and Explore Data - EPC GroupHow to Navigate PerformancePoint 2010 Dashboards and Explore Data - EPC Group
How to Navigate PerformancePoint 2010 Dashboards and Explore Data - EPC GroupEPC Group
 
Chapter.11
Chapter.11Chapter.11
Chapter.11klivsie
 
Building your first power apps from scratch a step by step walkthrough
Building your first power apps from scratch   a step by step walkthroughBuilding your first power apps from scratch   a step by step walkthrough
Building your first power apps from scratch a step by step walkthroughSanjiv Venkatram
 
Unit i adobe dreamweaver cs6
Unit i adobe dreamweaver cs6Unit i adobe dreamweaver cs6
Unit i adobe dreamweaver cs6Krista Lawrence
 
How to design a report with fine report reporting tool
How to design a report with  fine report reporting toolHow to design a report with  fine report reporting tool
How to design a report with fine report reporting toolFineReport Reporting Tool
 

Similaire à 005.form (20)

MS Access Ch 3 PPT
MS Access Ch 3 PPTMS Access Ch 3 PPT
MS Access Ch 3 PPT
 
Management of database information system
Management of database information systemManagement of database information system
Management of database information system
 
A. Lab # BSBA BIS245A-7B. Lab 7 of 7 Database Navigation.docx
A. Lab #  BSBA BIS245A-7B. Lab 7 of 7  Database Navigation.docxA. Lab #  BSBA BIS245A-7B. Lab 7 of 7  Database Navigation.docx
A. Lab # BSBA BIS245A-7B. Lab 7 of 7 Database Navigation.docx
 
E book Microsoft Dynamics CRM 2013 Personal Dashboard for End Users
E book Microsoft Dynamics CRM 2013 Personal Dashboard for End UsersE book Microsoft Dynamics CRM 2013 Personal Dashboard for End Users
E book Microsoft Dynamics CRM 2013 Personal Dashboard for End Users
 
Tài liệu tự học Family trong Revit (phần 2)
Tài liệu tự học Family trong Revit (phần 2)Tài liệu tự học Family trong Revit (phần 2)
Tài liệu tự học Family trong Revit (phần 2)
 
ACTG Tableau intro labDownload the TableauLab file and look ov.docx
ACTG   Tableau intro labDownload the TableauLab file and look ov.docxACTG   Tableau intro labDownload the TableauLab file and look ov.docx
ACTG Tableau intro labDownload the TableauLab file and look ov.docx
 
03. data forms in hyperion planning
03. data forms in hyperion planning03. data forms in hyperion planning
03. data forms in hyperion planning
 
Access2007
Access2007Access2007
Access2007
 
Access 2007
Access 2007Access 2007
Access 2007
 
Access 2007
Access 2007Access 2007
Access 2007
 
How to Navigate PerformancePoint 2010 Dashboards and Explore Data - EPC Group
How to Navigate PerformancePoint 2010 Dashboards and Explore Data - EPC GroupHow to Navigate PerformancePoint 2010 Dashboards and Explore Data - EPC Group
How to Navigate PerformancePoint 2010 Dashboards and Explore Data - EPC Group
 
Access 2007
Access 2007Access 2007
Access 2007
 
Ms Excel AZC
Ms Excel AZCMs Excel AZC
Ms Excel AZC
 
Chapter.11
Chapter.11Chapter.11
Chapter.11
 
Chapter.11
Chapter.11Chapter.11
Chapter.11
 
Building your first power apps from scratch a step by step walkthrough
Building your first power apps from scratch   a step by step walkthroughBuilding your first power apps from scratch   a step by step walkthrough
Building your first power apps from scratch a step by step walkthrough
 
Treeview listview
Treeview listviewTreeview listview
Treeview listview
 
MS Access 2010 tutorial 6
MS Access 2010 tutorial 6MS Access 2010 tutorial 6
MS Access 2010 tutorial 6
 
Unit i adobe dreamweaver cs6
Unit i adobe dreamweaver cs6Unit i adobe dreamweaver cs6
Unit i adobe dreamweaver cs6
 
How to design a report with fine report reporting tool
How to design a report with  fine report reporting toolHow to design a report with  fine report reporting tool
How to design a report with fine report reporting tool
 

Plus de Học Huỳnh Bá

BÀI GIẢNG NGỮ PHÁP TIẾNG ANH NGÀNH GIA CÔNG SẢN XUẤT
BÀI GIẢNG NGỮ PHÁP TIẾNG ANH NGÀNH GIA CÔNG SẢN XUẤTBÀI GIẢNG NGỮ PHÁP TIẾNG ANH NGÀNH GIA CÔNG SẢN XUẤT
BÀI GIẢNG NGỮ PHÁP TIẾNG ANH NGÀNH GIA CÔNG SẢN XUẤTHọc Huỳnh Bá
 
Civil aviation english chinese-vietnamese vocabulary (popular language) - từ ...
Civil aviation english chinese-vietnamese vocabulary (popular language) - từ ...Civil aviation english chinese-vietnamese vocabulary (popular language) - từ ...
Civil aviation english chinese-vietnamese vocabulary (popular language) - từ ...Học Huỳnh Bá
 
Tell about a girl boy that you interested in
Tell about a girl boy that you interested inTell about a girl boy that you interested in
Tell about a girl boy that you interested inHọc Huỳnh Bá
 
Thư xin đi xe đón nhân viên shuttle transport service proposal letter (chine...
Thư xin đi xe đón nhân viên shuttle transport service proposal  letter (chine...Thư xin đi xe đón nhân viên shuttle transport service proposal  letter (chine...
Thư xin đi xe đón nhân viên shuttle transport service proposal letter (chine...Học Huỳnh Bá
 
Từ vựng chuyên ngành sản xuất giày da (tiếng trung việt) 鞋类常见词汇(汉语 - 越南语)
Từ vựng chuyên ngành sản xuất giày da (tiếng trung   việt) 鞋类常见词汇(汉语 - 越南语)Từ vựng chuyên ngành sản xuất giày da (tiếng trung   việt) 鞋类常见词汇(汉语 - 越南语)
Từ vựng chuyên ngành sản xuất giày da (tiếng trung việt) 鞋类常见词汇(汉语 - 越南语)Học Huỳnh Bá
 
Common shoe and footwear vocabulary (english chinese-vietnamese)鞋类常见词汇(英语、汉语、...
Common shoe and footwear vocabulary (english chinese-vietnamese)鞋类常见词汇(英语、汉语、...Common shoe and footwear vocabulary (english chinese-vietnamese)鞋类常见词汇(英语、汉语、...
Common shoe and footwear vocabulary (english chinese-vietnamese)鞋类常见词汇(英语、汉语、...Học Huỳnh Bá
 
Chinese email 高职高专院校英语能力测试a b级
Chinese email  高职高专院校英语能力测试a b级Chinese email  高职高专院校英语能力测试a b级
Chinese email 高职高专院校英语能力测试a b级Học Huỳnh Bá
 
English chinese business languages bec中级写作电子讲义
English   chinese business languages bec中级写作电子讲义English   chinese business languages bec中级写作电子讲义
English chinese business languages bec中级写作电子讲义Học Huỳnh Bá
 
Chinese english writing skill - 商务写作教程
Chinese english writing skill  - 商务写作教程Chinese english writing skill  - 商务写作教程
Chinese english writing skill - 商务写作教程Học Huỳnh Bá
 
Giấy báo thay đổi hộ khẩu, nhân khẩu
Giấy báo thay đổi hộ khẩu, nhân khẩuGiấy báo thay đổi hộ khẩu, nhân khẩu
Giấy báo thay đổi hộ khẩu, nhân khẩuHọc Huỳnh Bá
 
祈福英语实验学校入学申请表 Clifford school application form
祈福英语实验学校入学申请表 Clifford school application form祈福英语实验学校入学申请表 Clifford school application form
祈福英语实验学校入学申请表 Clifford school application formHọc Huỳnh Bá
 
LIST OF CHINESE & VIETNAMESE COLOR NAMES 表示颜色的英语&越南语词汇 DANH MỤC TỪ VỰNG VỀ MÀ...
LIST OF CHINESE & VIETNAMESE COLOR NAMES 表示颜色的英语&越南语词汇 DANH MỤC TỪ VỰNG VỀ MÀ...LIST OF CHINESE & VIETNAMESE COLOR NAMES 表示颜色的英语&越南语词汇 DANH MỤC TỪ VỰNG VỀ MÀ...
LIST OF CHINESE & VIETNAMESE COLOR NAMES 表示颜色的英语&越南语词汇 DANH MỤC TỪ VỰNG VỀ MÀ...Học Huỳnh Bá
 
Giáo án nghiệp vụ đàm thoại tiếng anh trong nhà trường
Giáo án nghiệp vụ đàm thoại tiếng anh trong nhà trườngGiáo án nghiệp vụ đàm thoại tiếng anh trong nhà trường
Giáo án nghiệp vụ đàm thoại tiếng anh trong nhà trườngHọc Huỳnh Bá
 
Giáo trình ms power point 2003
Giáo trình ms power point 2003Giáo trình ms power point 2003
Giáo trình ms power point 2003Học Huỳnh Bá
 
Giáo trình microsoft office excel 2003
Giáo trình microsoft office excel 2003Giáo trình microsoft office excel 2003
Giáo trình microsoft office excel 2003Học Huỳnh Bá
 
Giáo án dạy tiếng anh văn phòng
Giáo án dạy tiếng anh văn phòngGiáo án dạy tiếng anh văn phòng
Giáo án dạy tiếng anh văn phòngHọc Huỳnh Bá
 
Hợp đồng giảng dạy (mẫu)
Hợp đồng giảng dạy (mẫu)Hợp đồng giảng dạy (mẫu)
Hợp đồng giảng dạy (mẫu)Học Huỳnh Bá
 
Bảng tham chiếu quy đổi một số chứng chỉ ngoại ngữ
Bảng tham chiếu quy đổi một số chứng chỉ ngoại ngữBảng tham chiếu quy đổi một số chứng chỉ ngoại ngữ
Bảng tham chiếu quy đổi một số chứng chỉ ngoại ngữHọc Huỳnh Bá
 
Useful vocabulary for the resume and interview 英文简历及面试有用词汇 danh mục từ vựng a...
Useful vocabulary for the resume and interview 英文简历及面试有用词汇 danh mục từ vựng a...Useful vocabulary for the resume and interview 英文简历及面试有用词汇 danh mục từ vựng a...
Useful vocabulary for the resume and interview 英文简历及面试有用词汇 danh mục từ vựng a...Học Huỳnh Bá
 

Plus de Học Huỳnh Bá (20)

BÀI GIẢNG NGỮ PHÁP TIẾNG ANH NGÀNH GIA CÔNG SẢN XUẤT
BÀI GIẢNG NGỮ PHÁP TIẾNG ANH NGÀNH GIA CÔNG SẢN XUẤTBÀI GIẢNG NGỮ PHÁP TIẾNG ANH NGÀNH GIA CÔNG SẢN XUẤT
BÀI GIẢNG NGỮ PHÁP TIẾNG ANH NGÀNH GIA CÔNG SẢN XUẤT
 
Civil aviation english chinese-vietnamese vocabulary (popular language) - từ ...
Civil aviation english chinese-vietnamese vocabulary (popular language) - từ ...Civil aviation english chinese-vietnamese vocabulary (popular language) - từ ...
Civil aviation english chinese-vietnamese vocabulary (popular language) - từ ...
 
Tell about a girl boy that you interested in
Tell about a girl boy that you interested inTell about a girl boy that you interested in
Tell about a girl boy that you interested in
 
Thư xin đi xe đón nhân viên shuttle transport service proposal letter (chine...
Thư xin đi xe đón nhân viên shuttle transport service proposal  letter (chine...Thư xin đi xe đón nhân viên shuttle transport service proposal  letter (chine...
Thư xin đi xe đón nhân viên shuttle transport service proposal letter (chine...
 
Từ vựng chuyên ngành sản xuất giày da (tiếng trung việt) 鞋类常见词汇(汉语 - 越南语)
Từ vựng chuyên ngành sản xuất giày da (tiếng trung   việt) 鞋类常见词汇(汉语 - 越南语)Từ vựng chuyên ngành sản xuất giày da (tiếng trung   việt) 鞋类常见词汇(汉语 - 越南语)
Từ vựng chuyên ngành sản xuất giày da (tiếng trung việt) 鞋类常见词汇(汉语 - 越南语)
 
Common shoe and footwear vocabulary (english chinese-vietnamese)鞋类常见词汇(英语、汉语、...
Common shoe and footwear vocabulary (english chinese-vietnamese)鞋类常见词汇(英语、汉语、...Common shoe and footwear vocabulary (english chinese-vietnamese)鞋类常见词汇(英语、汉语、...
Common shoe and footwear vocabulary (english chinese-vietnamese)鞋类常见词汇(英语、汉语、...
 
Chinese email 高职高专院校英语能力测试a b级
Chinese email  高职高专院校英语能力测试a b级Chinese email  高职高专院校英语能力测试a b级
Chinese email 高职高专院校英语能力测试a b级
 
English chinese business languages bec中级写作电子讲义
English   chinese business languages bec中级写作电子讲义English   chinese business languages bec中级写作电子讲义
English chinese business languages bec中级写作电子讲义
 
Chinese english writing skill - 商务写作教程
Chinese english writing skill  - 商务写作教程Chinese english writing skill  - 商务写作教程
Chinese english writing skill - 商务写作教程
 
Giấy báo thay đổi hộ khẩu, nhân khẩu
Giấy báo thay đổi hộ khẩu, nhân khẩuGiấy báo thay đổi hộ khẩu, nhân khẩu
Giấy báo thay đổi hộ khẩu, nhân khẩu
 
祈福英语实验学校入学申请表 Clifford school application form
祈福英语实验学校入学申请表 Clifford school application form祈福英语实验学校入学申请表 Clifford school application form
祈福英语实验学校入学申请表 Clifford school application form
 
LIST OF CHINESE & VIETNAMESE COLOR NAMES 表示颜色的英语&越南语词汇 DANH MỤC TỪ VỰNG VỀ MÀ...
LIST OF CHINESE & VIETNAMESE COLOR NAMES 表示颜色的英语&越南语词汇 DANH MỤC TỪ VỰNG VỀ MÀ...LIST OF CHINESE & VIETNAMESE COLOR NAMES 表示颜色的英语&越南语词汇 DANH MỤC TỪ VỰNG VỀ MÀ...
LIST OF CHINESE & VIETNAMESE COLOR NAMES 表示颜色的英语&越南语词汇 DANH MỤC TỪ VỰNG VỀ MÀ...
 
Giáo án nghiệp vụ đàm thoại tiếng anh trong nhà trường
Giáo án nghiệp vụ đàm thoại tiếng anh trong nhà trườngGiáo án nghiệp vụ đàm thoại tiếng anh trong nhà trường
Giáo án nghiệp vụ đàm thoại tiếng anh trong nhà trường
 
Giáo trình ms power point 2003
Giáo trình ms power point 2003Giáo trình ms power point 2003
Giáo trình ms power point 2003
 
Giáo trình microsoft office excel 2003
Giáo trình microsoft office excel 2003Giáo trình microsoft office excel 2003
Giáo trình microsoft office excel 2003
 
Giáo án dạy tiếng anh văn phòng
Giáo án dạy tiếng anh văn phòngGiáo án dạy tiếng anh văn phòng
Giáo án dạy tiếng anh văn phòng
 
Hợp đồng giảng dạy (mẫu)
Hợp đồng giảng dạy (mẫu)Hợp đồng giảng dạy (mẫu)
Hợp đồng giảng dạy (mẫu)
 
Bảng tham chiếu quy đổi một số chứng chỉ ngoại ngữ
Bảng tham chiếu quy đổi một số chứng chỉ ngoại ngữBảng tham chiếu quy đổi một số chứng chỉ ngoại ngữ
Bảng tham chiếu quy đổi một số chứng chỉ ngoại ngữ
 
Useful vocabulary for the resume and interview 英文简历及面试有用词汇 danh mục từ vựng a...
Useful vocabulary for the resume and interview 英文简历及面试有用词汇 danh mục từ vựng a...Useful vocabulary for the resume and interview 英文简历及面试有用词汇 danh mục từ vựng a...
Useful vocabulary for the resume and interview 英文简历及面试有用词汇 danh mục từ vựng a...
 
Bảng chữ cái hiragana
Bảng chữ cái hiraganaBảng chữ cái hiragana
Bảng chữ cái hiragana
 

005.form

  • 1. Building a User Interface with Forms
  • 2. Creating Simple Forms  Creates a readymade form based on a table or query: − In the navigation pane, select the table or query use to generate the form. − Choose Create ➝ Forms ➝ Form.
  • 3. Using Forms  Finding and Editing a Record  Adding a Record  Deleting a Record  Printing Records  Sorting and Filtering in a Form − Quick filter − Filter by selection − Filter by condition − Advanced filters
  • 4. More Useful Form Properties  The Property Sheet to change the view of your form, letting an ordinary form show multiple items or a split view.  However, the Property Sheet is packed with many more settings. (reference to Table 12-2, Page 396)
  • 5. The Form Wizard  The Form wizard asks you a series of questions and then builds a form to match. − Choose Create ➝ Forms ➝ Form Wizard. − From the drop-down list, choose the table you want to use. − Add the fields you want to include, click Next. − Choosea layout option for your form.
  • 6. The Form Wizard  Layout options include: − Columnar similar to clicking Create ➝ Forms ➝ Form on the ribbon. − Tabular similar to clicking Create ➝ Forms ➝ More Forms ➝ Multiple Items in the ribbon. − Datasheet creates a datasheet form. It’s similar to selecting Create ➝ Forms ➝ More Forms ➝ Datasheet in the ribbon.
  • 7. Designing Advanced Forms  Customizing Forms in Design View: − Create a form in Layout view: Choose Create Forms  Blank Form. − Drag the fields from the Field List pane into form. − Create a form in Design view. Choose Create  Forms Form Design. Start with a blank form in the design window. − Drag fields from the Field List pane into form.
  • 8. Form Sections  Newly created forms start with only one section: the Details section, which defines the content for each record.
  • 9. Form Sections  To add a title or logo at the top of form, or some sort of summary information or message at the bottom, must include a header and footer section.  To add these elements to form, right-click anywhere on the form’s surface, and then choose Page Header/Footer.
  • 10. Adding Controls to Your Form  To add a control, follow these steps: − Head to the ribbon’s Form Design Tools Design Controls section. − Optionally, switch on the Use Control Wizards button. − Click the icon for the control you want. − To place your control on the form, drag the mouse cursor to draw the control on the form. − If control has a Control wizard and use Control Wizards, the wizard appears now.
  • 11. Adding Controls to Your Form − If you’re adding a label, supply some text for the control. − Change the appropriate settings in the Property Sheet. − Give control a better name by setting the Name property. − Format your control.  Form controls (reference Table 13-1. Page 407)
  • 12. Arranging Controls on Form  Working with controls in Design view: − Create a control: Select the control you want, and then draw it in the right place. − Move a control: Just click and drag it. You can also move several controls at Once. − Resize a control: Drag the edges of the rectangle that surrounds it. − Modify a control: Select control and set property in the Property Sheet. − Delete a control: Select it  press Delete
  • 13. Arranging Controls on Form  Aligning controls: − Select the control, right-click − Choose an option in the Align submenu − Or select Arrange  Align
  • 14. Arranging Controls on Form  Sizing controls: − Select the controls, right-click the selection, choose an option from the Size menu. − Use To Widest to make all the controls as wide as the widest one of the bunch.  Spacing controls: − To modify the space appears between the controls:
  • 15. Arranging Controls on Form − Select all the controls  Form Design Tools | Arrange ➝ Sizing & Ordering ➝Size /Space menu. − Select the commands to adjust the spacing between controls:  Equal Horizontal.  Equal Vertical.  Increase Horizontal and Increase Vertical.  Decrease Horizontal and Decrease Vertical.
  • 16. Anchoring: Automatically Resizing Controls  Normally, the controls have a fixed, unchanging size. Fixed size controls make for easy design, but they’re inflexible.  Anchoring lets you create controls that can grow to fill extra space when the Access window is resized.
  • 17. Anchoring: Automatically Resizing Controls  Making controls as wide as the form − In Design view, shrink the width of the Details section so it’s just wide enough to fit controls. − Choose the controls that you want to expand along with the window’s size. − Choose Form Design Tools Arrange  Position  Anchoring  Stretch Across Top.
  • 18. Taking Control of Controls  Locking Down Fields: Every bound control provides the following two properties that you can use to control editing by using the Property Sheet in Design view. − Locked determines whether you can make changes in a field. − Enabled lets you deactivate a control altogether.
  • 19. Taking Control of Controls  Prevent Errors with Validation: − Validation Rule sets an expression that the value must meet to be considered valid. − Validation Text. − Input Mask. − Default Value
  • 20. Performing Calculations with Expressions  To create an expression on form: − Add a text box control to your form − In the Property Sheet, choose the Data tab. Place expression in the Control Source setting. − Optionally, set Enabled to No to hammer home the point that this value can’t be edited. − Optionally, apply formatting.
  • 21. Organizing with Tab Controls  Tab control is used: − Present large amounts of content in a limited space. Organize this content into separate pages. At a time, can see only one page. − In forms that are primarily designed for editing or reviewing data, data can be subdivided into logical groups, and editing tasks often involve just one group.
  • 22. Organizing with Tab Controls  To use a tab control, follow these steps:  In the ribbon’s Form Design Tools  Design Controls section , click the Tab Control.  Draw the tab control onto form  Every new tab control starts with two pages. − To create a new page, right-click any tab and choose Insert Page. − To remove an existing page, right-click it and choose Delete Page.  Place controls on the different pages.
  • 23. Navigating with Lists  There are two list controls in Access forms: the list box and the combo box.  There are two ways to use list controls: − Use to edit a field. Access automatically creates a combo box control when there’s a lookup defined for the field − Use to navigate to the record, the list shows the field value for every record in the table. When choose one of the values, Access jumps to the corresponding record.
  • 24. Navigating with Lists  Create List control: − Make sure the Control Wizard feature is turned on. − In Form Design Tools  Design  Controls section, click List Box or Combo Box. − Draw the control on the form. − Choose “Find a record on my form” Next. − Choose the field you want to use for the lookup  Next. − Enter a caption for list  Finish
  • 25. Command Buttons  Command buttons let you trigger just about any action, like opening a new form, printing a report…  Crate Button by using wizard: − In the ribbon’s Form Design Tools Design  Controls section, click the Button. − Draw the button into form.
  • 26. Command Buttons − Choose one of the actions:  Record Navigation  Record Operations  Form Operations  Report Operations  Application  Miscellaneous − Click Next − Enter some text and choose a picture  Next − Supply a name for the button  Finish
  • 27. The Sub form Control  The sub form control shows linked records  Three properties determine what the sub form control shows: − The Source Object property identifies the object in the database that has the related records. − Link Master Fields: is the field in the form. − Link Child Fields: is the field in the source object.
  • 28. Navigation Forms  Creating a Single-Level Navigation Form: − To create navigation form, pick one of the top three options from the Create ➝ Forms ➝ Navigation menu. − To add a navigation button for one of forms, click the form in navigation pane, and drag it into the navigation control. − If want to change the navigation button caption, double-click the caption and type the new name.
  • 29. Navigation Forms  Creating a Two-Level Navigation Form: − To create navigation form, pick one of the bottom three options from the Create ➝ Forms ➝ Navigation menu.
  • 30. Navigation Forms − Add a heading for your top-level menu by click “[Add New]” and type in a new caption. − To add the submenu for this heading, drag a form from the navigation pane into the submenu.
  • 31. Linking to Related Data  Showing Linked Records in Separate Forms: By adding a button to form that pops open another form with the linked records − Open the parent form in Design view. − Click the Button icon, and draw the button onto form. − Choose the Form Operations  Open Form, Next. − Choose the child form that has the related records , Next.
  • 32. Linking to Related Data − Choose “Open the form and find specific data to display” Next. − In the list on the left, choose the unique identifying field from the first table. − In the list on the right, choose the matching field from the second table. − Click the two-way arrow button  Next − Finish.