SlideShare a Scribd company logo
Succeeding in Business with Microsoft Access 2013
Enhancing User Interaction
Through Programming
Chapter 7
Succeeding in Business with Microsoft Access 2013
Chapter Introduction
• Visual basic for applications (VBA)
– Fully customize and automate a database
– Perform more complex validity checking
– Use functions and actions not available with
macros
2
Succeeding in Business with Microsoft Access 2013
Tools Covered in This Chapter
• Assignment statement
• Breakpoints
• Code window
• DateDiff function
• DateSerial function
• Debug
• DoCmd statement
3
Succeeding in Business with Microsoft Access 2013
Tools Covered in This Chapter (cont’d.)
• If statement
• Immediate window
• Variables
• Visual Basic editor
• Watch window
4
Succeeding in Business with Microsoft Access 2013
Level 1 Objectives:
Writing Visual Basic for Applications Code
• Understand Visual Basic for Applications
programming
• Design, create, and test a subroutine in a
standard module
• Design, create, and test an event procedure
• Design, create, and test a function in a
standard module
5
Succeeding in Business with Microsoft Access 2013
Understanding Visual Basic
for Applications
• Programming language for Microsoft Office
programs
– Including Access
• Common syntax and set of common features for
all Microsoft Office programs
• Features unique for each Microsoft Office
program
• Use programming language
– Write set of instructions to direct computer to
perform specific operations in specific order
6
Succeeding in Business with Microsoft Access 2013
Understanding Visual Basic
for Applications (cont’d.)
• Coding
• Statement
• Event-driven language
• Object-oriented language
7
Succeeding in Business with Microsoft Access 2013
Event-Driven Programming
• Event
– State, condition, or occurrence that Access recognizes
– Has associated event property
– Appears in property sheet for forms reports, and
controls
• Create group of statements using VBA code
– Set event property value to name of that group of
statements
– Event procedure
8
Succeeding in Business with Microsoft Access 2013 9
Succeeding in Business with Microsoft Access 2013 10
Table 7.2: Common events for selected controls
Succeeding in Business with Microsoft Access 2013
Coding VBA
• Types of procedures
– Function procedures
• Performs operations
• Returns value
• Accepts input values
• Can be used in expressions
– Sub procedures
• Performs operations and accepts input values
• Does not return value
• Cannot be used in expressions
11
Succeeding in Business with Microsoft Access 2013
Coding VBA (cont’d.)
• Module
– Group of related procedures
– Starts with Declarations section
– One or more procedures
• Basic types of modules
– Standard modules
• Database object stored in memory
• Use from anywhere in database
– Class modules
• Usually associated with particular form or report
12
Succeeding in Business with Microsoft Access 2013
Coding VBA (cont’d.)
• Public procedure
– More than one object can use
• Local procedure or a private procedure
– Can only be used by the form or report for which
class module created
13
Succeeding in Business with Microsoft Access 2013
Creating a Subroutine
in a Standard Module
• Replace macros with VBA procedures
– Better error handling and greater capabilities
– Some tasks cannot be performed with VBA
• AutoKeys
• AutoExec
14
Succeeding in Business with Microsoft Access 2013
Creating a New Standard Module
• Click CREATE tab
– Click Module button in the Macros & Code group
• Begin new procedure in module
– Click Insert menu
– Click procedure
– Type name
– Select options
15
Succeeding in Business with Microsoft Access 2013
Creating a New Standard Module (cont’d.)
• Visual Basic Editor (VBE)
– Create and modify VBA code
• Visual Basic window
– Program window that opens within VBE
• Code window
– Window to create modify and display specific VBA
procedures
– Can have as many code windows open as modules
in database
16
Succeeding in Business with Microsoft Access 2013
Creating a New Standard Module (cont’d.)
• Sub statement
– Ends with End Sub statement
– Includes
• Scope of procedure
• Name of procedure
• Opening and closing parenthesis
• Option compare statement
– Designates technique Access uses to compare and
sort text data
17
Succeeding in Business with Microsoft Access 2013
Creating a Subroutine
• Type statements in procedure between Sub
and End Sub statements
• DoCmd statement
– Executes action in procedure
– Access object
• Method
– Function or procedure that operates on specific
objects or controls
18
Succeeding in Business with Microsoft Access 2013
Creating a Subroutine (cont’d.)
• Comment
– Include anywhere in VBA procedure
– Describe what procedure or statement does
• Make it easier for programmers to identify purpose of
statements
– Begin comment with
• Word Rem (for “remark”)
• Or single quotation mark (')
– Appear green in code window
19
Succeeding in Business with Microsoft Access 2013
Creating a Subroutine (cont’d.)
• Line label
– Statement that serves as starting point for block of
statements in procedure
– Begins at start of line and ends with semicolon (;)
• Run procedure
– Click Run Sub/UserForm button
• Save module
– Click Save button
20
Succeeding in Business with Microsoft Access 2013
Designing an Event Procedure
in a Form’s Class Module
• Associate procedure with form’s BeforeUpdate
event property
– Runs for the current record
– Triggered when moving to another record
• Add event procedure
– Open Property Sheet for form
– Switch to Event tab
– Click BeforeUpdate box list arrow
– Click [Event Procedure]
– Click Build button in BeforeUpdate box
21
Succeeding in Business with Microsoft Access 2013
Using the If Statement in Decision Making
• Decision-making statement
– Executes group of statements based on outcome
of condition
– In simplest statement, Access executes a group of
statements if the condition is true
• Executes nothing if False
22
Succeeding in Business with Microsoft Access 2013
Using the If Statement in Decision Making
(cont’d.)
• If statement
– Tests condition follows one of two paths
depending on outcome of condition
– General form
• If condition Then
– True-statement group
• [Else
– False-statement group]
• End If
23
Succeeding in Business with Microsoft Access 2013
Using the If Statement in Decision Making
(cont’d.)
• Assignment statement
– Assigns value of expression to control or property
– Example
• EstSalary.ForeColor = vbGreen
• ForeColor property
• Color constants
– Predefined VBA names
– Have values that represent system color value
• IsNull function returns
– True value when field or control null
– False when not
24
Succeeding in Business with Microsoft Access 2013
Testing an Event Procedure
• Switch to Form view
• Navigate through records
– Make sure results correct in different situations
25
Succeeding in Business with Microsoft Access 2013
Using a Function in a Standard Module
• Similar calculation requests
– Create function to perform calculation
– Change the calculation in only one place to correct
an inaccuracy or enhance the calculation
26
Succeeding in Business with Microsoft Access 2013
Using Functions in VBA
• Similar to way built-in functions used
– Access encounters a function name
– Executes the function
– Passes the argument values to the function
– The function performs its operations
– When finished, the calculated value replaces the
function in the expression
27
Succeeding in Business with Microsoft Access 2013
Using Functions in VBA (cont’d.)
• VBA naming rules
– Must begin with letter
– Cannot exceed 255 characters
– Include letters numbers and underscore character
– Cannot use space, punctuation, or special characters
– Cannot be same as keywords or reserved words
– Each variable has data type
• A function begins with a Function statement and
ends with an End Function statement
28
Succeeding in Business with Microsoft Access 2013 29
Succeeding in Business with Microsoft Access 2013
Using Variables
• Named location in computer memory
• Can contain value
• Use to store and retrieve data
• Reference a memory location using variable
name assigned to the location
• Holds only one value at a time
30
Succeeding in Business with Microsoft Access 2013
Testing a Function in the Immediate Window
• When statement entered
– Editor checks statement to make sure syntax
correct
• Logic error
– Occurs when procedure produces incorrect results
• Immediate window
– Test VBA procedures without changing data in
database
– Enter different values to test procedure
31
Succeeding in Business with Microsoft Access 2013
Testing a Function in the Immediate Window
(cont’d.)
• Immediate window
– Type keyword “print” or question mark (?)
– Followed by procedure name and argument
values to test in parentheses and separated by
commas
– Access executes the function and prints the value
returned by the function
32
Succeeding in Business with Microsoft Access 2013
Modifying Functions
• A number of solutions can solve a single problem
– Some solutions are long and complicated
– Others are short and simple
• DateSerial function
– Returns a value for a specified year, month, and day
• Access stores
– A True comparison result as a zero value
– A False comparison result as a value of minus one (-1)
33
Succeeding in Business with Microsoft Access 2013
Level 1 Summary
• VBA
– Programming language for Microsoft Office programs
• Create procedures in module
• Event-driven programming
– Program statement execution triggered by events
• If statement
– Used to make decisions
• Function
– Returns a value
34
Succeeding in Business with Microsoft Access 2013
Level 2 Objectives:
Using Custom Functions and Verifying Data
• Design, create, and test a custom function in
an event procedure
• Verify data using event procedures
• Use the case control structure
35
Succeeding in Business with Microsoft Access 2013
Enhancing an Event Procedure to Use a Custom
Function
• Add functionality to display a message or
perform a calculation
– Add a text box to display the message
– Add VBA statements to BeforeUpdate event
procedure so the focus changes to a new record
– Design decision-making logic in the VBA
procedure to perform the calculation
– Design additional decision-making logic to make
the text box control visible or not
36
Succeeding in Business with Microsoft Access 2013
Using an ElseIf Statement
in an If Statement
• Date function
– Returns current computer system date
• ElseIf statement
– Equivalent to Else clause followed by If statement
• Choice of which If statement version used
– Matter of personal preference
• Arranging order of condition testing
– Order of condition testing critical
– Place conditions in order from least inclusive to most
inclusive
37
Succeeding in Business with Microsoft Access 2013 38
Figure 7.14: Comparing an ElseIf clause with an Else…If clause
Succeeding in Business with Microsoft Access 2013
Using an ElseIf Statement
in an If Statement (cont’d.)
• Dim statement
– Declare variables and associated data types in
procedure
39
Succeeding in Business with Microsoft Access 2013
Verifying Data with VBA
• Before Update event
– Occurs before changed data in control or record
updated in database
– Use to verify entered data
40
Succeeding in Business with Microsoft Access 2013
Designing the Field Validation Procedure to
Verify Zip Codes
• Dim ZipFirstThree As Integer
– Declares the integer variable named ZipFirstThree
– Verifies that ZIP codes begin in the correct range
– Uses the built-in Val and Left functions
• Left function
– Returns string containing specified number of
characters from left side of specified string
• Val function
– Returns numbers contained in specified string as
numeric value
41
Succeeding in Business with Microsoft Access 2013
Using the Case Control Structure
• Control structure
– Set of VBA statements work together as a unit
• Case control structure
– Evaluates expression
– Performs one of several alternative sets of
statements
– Based on resulting value (or condition) of
evaluated expression
42
Succeeding in Business with Microsoft Access 2013
Using the Case Control Structure (cont’d.)
• Use Case Else statement as last Case
statement
– Include false-statement group
• SetFocus
– Moves focus to specified object or control
43
Succeeding in Business with Microsoft Access 2013
Testing the Field Validation Procedure
to Verify ZIP Codes
• Switch to Form view to test validation
procedure
• Using event procedure for control or form
– BeforeUpdate event for each control on form
– Disadvantage
• All changes made to record canceled
44
Succeeding in Business with Microsoft Access 2013
Designing the Field Validation Procedure to
Verify Phone Area Codes
• Must test first three digits of phone number
• Message can suggest potential error
– Must accept any phone area code entry
45
Succeeding in Business with Microsoft Access 2013
Level 2 Summary
• ElseIf statement
• Case Control structure
• Verify data using VBA
46
Succeeding in Business with Microsoft Access 2013
Level 3 Objectives:
Testing and Exploring VBA
• Troubleshoot VBA procedure errors
• Compile modules
• Develop sources for learning VBA
47
Succeeding in Business with Microsoft Access 2013
Troubleshooting VBA Procedures
• Syntax error
– Occurs when VBA statement violates language
rules for statement such as
• Misspelling
• Incorrect sequence of keywords
• Missing parenthesis
– Detected immediately when statement completed
• Error message opens and explains error
48
Succeeding in Business with Microsoft Access 2013 49
Succeeding in Business with Microsoft Access 2013
Troubleshooting VBA Procedures (cont’d.)
• Compilation error
– Occurs when procedures translated into form
computer cannot understand
• Compilation
– Process of translating modules from VBA to form
computer understands
50
Succeeding in Business with Microsoft Access 2013
Troubleshooting VBA Procedures (cont’d.)
• Prevent compilation errors at run time
– Use Compile command on Debug menu
– Compile as last step before saving module
• Execution error or run-time error
– Occurs when procedure executes and stops
because it tries to perform operation that is
impossible to perform
51
Succeeding in Business with Microsoft Access 2013
Using the Debugger to Correct Errors
• Breakpoint
– Run subroutine or function up until line on which
breakpoint set
– Procedure halts execution at breakpoint and
displays module screen
– Good way to isolate place at which procedure
stops producing anticipated result
52
Succeeding in Business with Microsoft Access 2013
Using the Debugger to Correct Errors (cont’d.)
• Use mouse pointer to get more information
about procedure
– Pointing to variable name displays ScreenTip with
value contained in variable at point that
procedure halted
• Execute procedure one statement at a time
– Try and identify cause of error
– Click Debug on menu bar
• Click Step Into
53
Succeeding in Business with Microsoft Access 2013
Using the Debugger to Correct Errors (cont’d.)
• Step Into
– Procedure executes next statement and stops
• Step Out
– Executes current subroutine or function and then
halts
• Reset button
– Stops debugger so you can fix problem
• Recompile and save
• When done, click Debug and Clear all Breakpoints
54
Succeeding in Business with Microsoft Access 2013
Identifying Errors Using the Watch Window
• Watch window
– Shows current value of specified variable
• Add Watch dialog box
– Enter variable name to watch
• “<Out of context>” in Value column
– Appears for watch expression
– When Access not executing procedure that
contains watch expression
55
Succeeding in Business with Microsoft Access 2013 56
Figure 7.28: Add Watch dialog box
Succeeding in Business with Microsoft Access 2013
Building Procedures Slowly
to Isolate Problems
• Prevent problems in procedures
– Build them slowly using small groups of
statements
– Prove them to be correct as you go
• Easier to correct small groups than long procedure
57
Succeeding in Business with Microsoft Access 2013
Using Help to Learn More
About Programming and VBA
• Access Help contains useful information about
programming in Access and VBA
– F1 Help downloaded at installation
– Help button (? symbol) on the Ribbon
– Click in the Search box and type the topic you
would like to search
58
Succeeding in Business with Microsoft Access 2013 59
Figure 7.32: Access Help on Visual Basic
Succeeding in Business with Microsoft Access 2013
Level 3 Summary
• Errors
– Syntax
– Compilation
– Execution or run-time
• Debugger
– Use to find and correct errors
• Help
– Learn more about VBA
60
Succeeding in Business with Microsoft Access 2013
Chapter Summary
• Enhance a form using VBA procedures
– Subroutine
– Event procedure
– Code control structure adds to decision making
– Variables
• Custom functions
• Troubleshooting errors
– Breakpoints
• Access Help
61

More Related Content

What's hot

Ch01 Access
Ch01 AccessCh01 Access
Ch01 Access
D
 
Ch02 Access
Ch02 AccessCh02 Access
Ch02 Access
D
 
Understand Charts in Excel - Chapter.03
Understand Charts in Excel - Chapter.03Understand Charts in Excel - Chapter.03
Understand Charts in Excel - Chapter.03
chazaabdul
 
Ch03 Access
Ch03 AccessCh03 Access
Ch03 Access
D
 
Microsoft dynamics ax 2012 development introduction part 1/3
Microsoft dynamics ax 2012 development introduction part 1/3Microsoft dynamics ax 2012 development introduction part 1/3
Microsoft dynamics ax 2012 development introduction part 1/3
Ali Raza Zaidi
 
Ragic Database design 101
Ragic Database design 101Ragic Database design 101
Ragic Database design 101
Ragic
 
Dynamics AX 2009 Data Dictionary - Güven Şahin - 04.05.2013
Dynamics AX 2009 Data Dictionary - Güven Şahin - 04.05.2013Dynamics AX 2009 Data Dictionary - Güven Şahin - 04.05.2013
Dynamics AX 2009 Data Dictionary - Güven Şahin - 04.05.2013
guvensahin
 
Ax Presentation
Ax PresentationAx Presentation
Ax Presentation
Muhammad_Usman_Awan
 
Budget entries import in Dynamics AX 2012
Budget entries import in Dynamics AX 2012Budget entries import in Dynamics AX 2012
Budget entries import in Dynamics AX 2012
Bilal Jawarneh
 
Microsoft Dynamics CRM SSRS REPORTS
Microsoft Dynamics CRM SSRS REPORTS Microsoft Dynamics CRM SSRS REPORTS
Microsoft Dynamics CRM SSRS REPORTS
Naveen Kumar
 
Creating reports in oracle e business suite using xml publisher
Creating reports in oracle e business suite using xml publisherCreating reports in oracle e business suite using xml publisher
Creating reports in oracle e business suite using xml publisher
Samchi Fouzee
 
Microsoft Dynamics CRM Certification Training
Microsoft Dynamics CRM Certification TrainingMicrosoft Dynamics CRM Certification Training
Microsoft Dynamics CRM Certification Training
David Blumentals
 
Service Analysis - Microsoft Dynamics CRM 2016 Customer Service
Service Analysis - Microsoft Dynamics CRM 2016 Customer ServiceService Analysis - Microsoft Dynamics CRM 2016 Customer Service
Service Analysis - Microsoft Dynamics CRM 2016 Customer Service
Naveen Kumar
 
Smarter Sales Process in Dynamics CRM 2015 - Part 1: Lead Qualification
Smarter Sales Process in Dynamics CRM 2015 - Part 1: Lead QualificationSmarter Sales Process in Dynamics CRM 2015 - Part 1: Lead Qualification
Smarter Sales Process in Dynamics CRM 2015 - Part 1: Lead Qualification
Jukka Niiranen
 
Dynamics Ax Retail Installation Vijay Sharma
Dynamics Ax Retail Installation Vijay SharmaDynamics Ax Retail Installation Vijay Sharma
Dynamics Ax Retail Installation Vijay Sharma
Vijay Sharma
 
What's new in ax 2012 for retail
What's new in ax 2012 for retailWhat's new in ax 2012 for retail
What's new in ax 2012 for retail
Ahmed Farag
 
Software Features: PBRS Power BI Reports Scheduler
Software Features: PBRS Power BI Reports SchedulerSoftware Features: PBRS Power BI Reports Scheduler
Software Features: PBRS Power BI Reports Scheduler
Christian Ofori-Boateng
 
Retail operations solution_ax2012_r2_retailtraining slides _day 4_sme
Retail operations solution_ax2012_r2_retailtraining slides _day 4_smeRetail operations solution_ax2012_r2_retailtraining slides _day 4_sme
Retail operations solution_ax2012_r2_retailtraining slides _day 4_sme
Pranav Gupta
 
TimeCard for Outlook - Workgroup version
TimeCard for Outlook - Workgroup versionTimeCard for Outlook - Workgroup version
TimeCard for Outlook - Workgroup version
Peter Kalmstrom
 
Best Implementation Practices with BI Publisher
Best Implementation Practices with BI PublisherBest Implementation Practices with BI Publisher
Best Implementation Practices with BI Publisher
Mohan Dutt
 

What's hot (20)

Ch01 Access
Ch01 AccessCh01 Access
Ch01 Access
 
Ch02 Access
Ch02 AccessCh02 Access
Ch02 Access
 
Understand Charts in Excel - Chapter.03
Understand Charts in Excel - Chapter.03Understand Charts in Excel - Chapter.03
Understand Charts in Excel - Chapter.03
 
Ch03 Access
Ch03 AccessCh03 Access
Ch03 Access
 
Microsoft dynamics ax 2012 development introduction part 1/3
Microsoft dynamics ax 2012 development introduction part 1/3Microsoft dynamics ax 2012 development introduction part 1/3
Microsoft dynamics ax 2012 development introduction part 1/3
 
Ragic Database design 101
Ragic Database design 101Ragic Database design 101
Ragic Database design 101
 
Dynamics AX 2009 Data Dictionary - Güven Şahin - 04.05.2013
Dynamics AX 2009 Data Dictionary - Güven Şahin - 04.05.2013Dynamics AX 2009 Data Dictionary - Güven Şahin - 04.05.2013
Dynamics AX 2009 Data Dictionary - Güven Şahin - 04.05.2013
 
Ax Presentation
Ax PresentationAx Presentation
Ax Presentation
 
Budget entries import in Dynamics AX 2012
Budget entries import in Dynamics AX 2012Budget entries import in Dynamics AX 2012
Budget entries import in Dynamics AX 2012
 
Microsoft Dynamics CRM SSRS REPORTS
Microsoft Dynamics CRM SSRS REPORTS Microsoft Dynamics CRM SSRS REPORTS
Microsoft Dynamics CRM SSRS REPORTS
 
Creating reports in oracle e business suite using xml publisher
Creating reports in oracle e business suite using xml publisherCreating reports in oracle e business suite using xml publisher
Creating reports in oracle e business suite using xml publisher
 
Microsoft Dynamics CRM Certification Training
Microsoft Dynamics CRM Certification TrainingMicrosoft Dynamics CRM Certification Training
Microsoft Dynamics CRM Certification Training
 
Service Analysis - Microsoft Dynamics CRM 2016 Customer Service
Service Analysis - Microsoft Dynamics CRM 2016 Customer ServiceService Analysis - Microsoft Dynamics CRM 2016 Customer Service
Service Analysis - Microsoft Dynamics CRM 2016 Customer Service
 
Smarter Sales Process in Dynamics CRM 2015 - Part 1: Lead Qualification
Smarter Sales Process in Dynamics CRM 2015 - Part 1: Lead QualificationSmarter Sales Process in Dynamics CRM 2015 - Part 1: Lead Qualification
Smarter Sales Process in Dynamics CRM 2015 - Part 1: Lead Qualification
 
Dynamics Ax Retail Installation Vijay Sharma
Dynamics Ax Retail Installation Vijay SharmaDynamics Ax Retail Installation Vijay Sharma
Dynamics Ax Retail Installation Vijay Sharma
 
What's new in ax 2012 for retail
What's new in ax 2012 for retailWhat's new in ax 2012 for retail
What's new in ax 2012 for retail
 
Software Features: PBRS Power BI Reports Scheduler
Software Features: PBRS Power BI Reports SchedulerSoftware Features: PBRS Power BI Reports Scheduler
Software Features: PBRS Power BI Reports Scheduler
 
Retail operations solution_ax2012_r2_retailtraining slides _day 4_sme
Retail operations solution_ax2012_r2_retailtraining slides _day 4_smeRetail operations solution_ax2012_r2_retailtraining slides _day 4_sme
Retail operations solution_ax2012_r2_retailtraining slides _day 4_sme
 
TimeCard for Outlook - Workgroup version
TimeCard for Outlook - Workgroup versionTimeCard for Outlook - Workgroup version
TimeCard for Outlook - Workgroup version
 
Best Implementation Practices with BI Publisher
Best Implementation Practices with BI PublisherBest Implementation Practices with BI Publisher
Best Implementation Practices with BI Publisher
 

Viewers also liked

First year 2nd quarter CSBN - Pictures and MS Paint
First year 2nd quarter CSBN - Pictures and MS PaintFirst year 2nd quarter CSBN - Pictures and MS Paint
First year 2nd quarter CSBN - Pictures and MS Paint
Andy de Vera
 
Lesson 07 - Software Fundamentals
Lesson 07 - Software FundamentalsLesson 07 - Software Fundamentals
Lesson 07 - Software Fundamentals
Angela Impellizzeri
 
Tuxpaint Downloading Instructions
Tuxpaint Downloading InstructionsTuxpaint Downloading Instructions
Tuxpaint Downloading Instructions
melarodriguez
 
Komponen utama komputer
Komponen utama komputerKomponen utama komputer
Komponen utama komputer
arah1506
 
Scratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint EditorScratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint Editor
David Oromaner
 
Kinders' Microsoft Paint
Kinders' Microsoft PaintKinders' Microsoft Paint
Kinders' Microsoft Paint
ctklibrary
 
Ms paint tutorial
Ms paint tutorialMs paint tutorial
Ms paint tutorial
amysuesue
 
Microsoft Paint (Create Pictures)
Microsoft Paint (Create Pictures)Microsoft Paint (Create Pictures)
Microsoft Paint (Create Pictures)
must2ra86
 
Microsoft Paint Powerpoint
Microsoft Paint PowerpointMicrosoft Paint Powerpoint
Microsoft Paint Powerpoint
yusivanach
 
Microsoft Paint
Microsoft PaintMicrosoft Paint
Microsoft Paint
S C
 
7 Best Text Effects in Microsoft Word
7 Best Text Effects in Microsoft Word7 Best Text Effects in Microsoft Word
7 Best Text Effects in Microsoft Word
Vaclav Krejci
 
Tuxpaint
TuxpaintTuxpaint
Tuxpaint
claumandavi
 
Introduction to microsoft word 2007
Introduction to microsoft word 2007Introduction to microsoft word 2007
Introduction to microsoft word 2007
Abdul-rahaman Bin Abubakar Suleman
 
Microsoft word presentation
Microsoft word presentationMicrosoft word presentation
Microsoft word presentation
egirshovich
 
Microsoft word basics ppt
Microsoft word basics pptMicrosoft word basics ppt
Microsoft word basics ppt
jdbutler13
 

Viewers also liked (15)

First year 2nd quarter CSBN - Pictures and MS Paint
First year 2nd quarter CSBN - Pictures and MS PaintFirst year 2nd quarter CSBN - Pictures and MS Paint
First year 2nd quarter CSBN - Pictures and MS Paint
 
Lesson 07 - Software Fundamentals
Lesson 07 - Software FundamentalsLesson 07 - Software Fundamentals
Lesson 07 - Software Fundamentals
 
Tuxpaint Downloading Instructions
Tuxpaint Downloading InstructionsTuxpaint Downloading Instructions
Tuxpaint Downloading Instructions
 
Komponen utama komputer
Komponen utama komputerKomponen utama komputer
Komponen utama komputer
 
Scratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint EditorScratch Lesson 2 – Paint Editor
Scratch Lesson 2 – Paint Editor
 
Kinders' Microsoft Paint
Kinders' Microsoft PaintKinders' Microsoft Paint
Kinders' Microsoft Paint
 
Ms paint tutorial
Ms paint tutorialMs paint tutorial
Ms paint tutorial
 
Microsoft Paint (Create Pictures)
Microsoft Paint (Create Pictures)Microsoft Paint (Create Pictures)
Microsoft Paint (Create Pictures)
 
Microsoft Paint Powerpoint
Microsoft Paint PowerpointMicrosoft Paint Powerpoint
Microsoft Paint Powerpoint
 
Microsoft Paint
Microsoft PaintMicrosoft Paint
Microsoft Paint
 
7 Best Text Effects in Microsoft Word
7 Best Text Effects in Microsoft Word7 Best Text Effects in Microsoft Word
7 Best Text Effects in Microsoft Word
 
Tuxpaint
TuxpaintTuxpaint
Tuxpaint
 
Introduction to microsoft word 2007
Introduction to microsoft word 2007Introduction to microsoft word 2007
Introduction to microsoft word 2007
 
Microsoft word presentation
Microsoft word presentationMicrosoft word presentation
Microsoft word presentation
 
Microsoft word basics ppt
Microsoft word basics pptMicrosoft word basics ppt
Microsoft word basics ppt
 

Similar to Ch07 cmpt110

Ch07 Access
Ch07 AccessCh07 Access
Ch07 Access
D
 
008.module
008.module008.module
008.module
Học Huỳnh Bá
 
Introduction to Visual studio 2012
Introduction to Visual studio 2012 Introduction to Visual studio 2012
Introduction to Visual studio 2012
Prashant Chaudhary
 
IBM Cognos 10 Framework Manager Metadata Modeling: Tips and Tricks
IBM Cognos 10 Framework Manager Metadata Modeling: Tips and TricksIBM Cognos 10 Framework Manager Metadata Modeling: Tips and Tricks
IBM Cognos 10 Framework Manager Metadata Modeling: Tips and Tricks
Senturus
 
55242-Microsoft-Dynamics-365-Customization-and-Configuration (1).pptx
55242-Microsoft-Dynamics-365-Customization-and-Configuration (1).pptx55242-Microsoft-Dynamics-365-Customization-and-Configuration (1).pptx
55242-Microsoft-Dynamics-365-Customization-and-Configuration (1).pptx
mayanksingh818
 
Lightning Process Builder
Lightning Process BuilderLightning Process Builder
Lightning Process Builder
sanskriti agarwal
 
Lightning Process Builder
Lightning Process BuilderLightning Process Builder
Lightning Process Builder
sanskriti agarwal
 
Managed Beans: When, Why and How
Managed Beans: When, Why and HowManaged Beans: When, Why and How
Managed Beans: When, Why and How
Russell Maher
 
"Umbraco MVC - a journey of discovery" - Lotte Pitcher
"Umbraco MVC - a journey of discovery" - Lotte Pitcher"Umbraco MVC - a journey of discovery" - Lotte Pitcher
"Umbraco MVC - a journey of discovery" - Lotte Pitcher
lottepitcher
 
React&Redux : The Amdocs Way (Sneak Peak)
React&Redux : The Amdocs Way (Sneak Peak)React&Redux : The Amdocs Way (Sneak Peak)
React&Redux : The Amdocs Way (Sneak Peak)
Sandeep Bamane
 
Lab Management with TFS 2010
Lab Management with TFS 2010Lab Management with TFS 2010
Lab Management with TFS 2010
Ed Blankenship
 
2-SoftwareProcess.ppt
2-SoftwareProcess.ppt2-SoftwareProcess.ppt
2-SoftwareProcess.ppt
DuraisamySubramaniam1
 
Structuring a Client-Side App
Structuring a Client-Side AppStructuring a Client-Side App
Structuring a Client-Side App
Eirik Bakke
 
yourfirstcodedui-121217152431-phpapp02.pdf
yourfirstcodedui-121217152431-phpapp02.pdfyourfirstcodedui-121217152431-phpapp02.pdf
yourfirstcodedui-121217152431-phpapp02.pdf
Patiento Del Mar
 
Salesforce Automation
Salesforce AutomationSalesforce Automation
Salesforce Automation
Elhem Sassi
 
Refactoring Legacy Web Forms for Test Automation
Refactoring Legacy Web Forms for Test AutomationRefactoring Legacy Web Forms for Test Automation
Refactoring Legacy Web Forms for Test Automation
Stephen Fuqua
 
Excel Macros and VBA Programming Training Bangalore:
Excel Macros and VBA Programming Training Bangalore:Excel Macros and VBA Programming Training Bangalore:
Excel Macros and VBA Programming Training Bangalore:
IGEEKS TECHNOLOGIES
 
Advanced Coded UI Testing
Advanced Coded UI TestingAdvanced Coded UI Testing
Advanced Coded UI Testing
Shai Raiten
 
Porting the Legacy Application to Composite Application Guidance
Porting the Legacy Application to Composite Application GuidancePorting the Legacy Application to Composite Application Guidance
Porting the Legacy Application to Composite Application Guidance
Our Community Exchange LLC
 
Test & Dynamics CRM - extremeCRM Berlin 2012
Test & Dynamics CRM - extremeCRM Berlin 2012Test & Dynamics CRM - extremeCRM Berlin 2012
Test & Dynamics CRM - extremeCRM Berlin 2012
Wael Hamze
 

Similar to Ch07 cmpt110 (20)

Ch07 Access
Ch07 AccessCh07 Access
Ch07 Access
 
008.module
008.module008.module
008.module
 
Introduction to Visual studio 2012
Introduction to Visual studio 2012 Introduction to Visual studio 2012
Introduction to Visual studio 2012
 
IBM Cognos 10 Framework Manager Metadata Modeling: Tips and Tricks
IBM Cognos 10 Framework Manager Metadata Modeling: Tips and TricksIBM Cognos 10 Framework Manager Metadata Modeling: Tips and Tricks
IBM Cognos 10 Framework Manager Metadata Modeling: Tips and Tricks
 
55242-Microsoft-Dynamics-365-Customization-and-Configuration (1).pptx
55242-Microsoft-Dynamics-365-Customization-and-Configuration (1).pptx55242-Microsoft-Dynamics-365-Customization-and-Configuration (1).pptx
55242-Microsoft-Dynamics-365-Customization-and-Configuration (1).pptx
 
Lightning Process Builder
Lightning Process BuilderLightning Process Builder
Lightning Process Builder
 
Lightning Process Builder
Lightning Process BuilderLightning Process Builder
Lightning Process Builder
 
Managed Beans: When, Why and How
Managed Beans: When, Why and HowManaged Beans: When, Why and How
Managed Beans: When, Why and How
 
"Umbraco MVC - a journey of discovery" - Lotte Pitcher
"Umbraco MVC - a journey of discovery" - Lotte Pitcher"Umbraco MVC - a journey of discovery" - Lotte Pitcher
"Umbraco MVC - a journey of discovery" - Lotte Pitcher
 
React&Redux : The Amdocs Way (Sneak Peak)
React&Redux : The Amdocs Way (Sneak Peak)React&Redux : The Amdocs Way (Sneak Peak)
React&Redux : The Amdocs Way (Sneak Peak)
 
Lab Management with TFS 2010
Lab Management with TFS 2010Lab Management with TFS 2010
Lab Management with TFS 2010
 
2-SoftwareProcess.ppt
2-SoftwareProcess.ppt2-SoftwareProcess.ppt
2-SoftwareProcess.ppt
 
Structuring a Client-Side App
Structuring a Client-Side AppStructuring a Client-Side App
Structuring a Client-Side App
 
yourfirstcodedui-121217152431-phpapp02.pdf
yourfirstcodedui-121217152431-phpapp02.pdfyourfirstcodedui-121217152431-phpapp02.pdf
yourfirstcodedui-121217152431-phpapp02.pdf
 
Salesforce Automation
Salesforce AutomationSalesforce Automation
Salesforce Automation
 
Refactoring Legacy Web Forms for Test Automation
Refactoring Legacy Web Forms for Test AutomationRefactoring Legacy Web Forms for Test Automation
Refactoring Legacy Web Forms for Test Automation
 
Excel Macros and VBA Programming Training Bangalore:
Excel Macros and VBA Programming Training Bangalore:Excel Macros and VBA Programming Training Bangalore:
Excel Macros and VBA Programming Training Bangalore:
 
Advanced Coded UI Testing
Advanced Coded UI TestingAdvanced Coded UI Testing
Advanced Coded UI Testing
 
Porting the Legacy Application to Composite Application Guidance
Porting the Legacy Application to Composite Application GuidancePorting the Legacy Application to Composite Application Guidance
Porting the Legacy Application to Composite Application Guidance
 
Test & Dynamics CRM - extremeCRM Berlin 2012
Test & Dynamics CRM - extremeCRM Berlin 2012Test & Dynamics CRM - extremeCRM Berlin 2012
Test & Dynamics CRM - extremeCRM Berlin 2012
 

Recently uploaded

一比一原版迪肯大学毕业证(DU毕业证书)学历如何办理
一比一原版迪肯大学毕业证(DU毕业证书)学历如何办理一比一原版迪肯大学毕业证(DU毕业证书)学历如何办理
一比一原版迪肯大学毕业证(DU毕业证书)学历如何办理
fcenyx
 
SHIVNA SAHITYIKI OCTOBER DECEMBER 2023 II.pdf
SHIVNA SAHITYIKI OCTOBER DECEMBER 2023 II.pdfSHIVNA SAHITYIKI OCTOBER DECEMBER 2023 II.pdf
SHIVNA SAHITYIKI OCTOBER DECEMBER 2023 II.pdf
Shivna Prakashan
 
❼❷⓿❺❻❷❽❷❼❽ Dpboss Matka ! Fix Satta Matka ! Matka Result ! Matka Guessing ! ...
❼❷⓿❺❻❷❽❷❼❽  Dpboss Matka ! Fix Satta Matka ! Matka Result ! Matka Guessing ! ...❼❷⓿❺❻❷❽❷❼❽  Dpboss Matka ! Fix Satta Matka ! Matka Result ! Matka Guessing ! ...
❼❷⓿❺❻❷❽❷❼❽ Dpboss Matka ! Fix Satta Matka ! Matka Result ! Matka Guessing ! ...
❼❷⓿❺❻❷❽❷❼❽ Dpboss Kalyan Satta Matka Guessing Matka Result Main Bazar chart
 
原版制作(UNITO毕业证书)都灵大学毕业证Offer一模一样
原版制作(UNITO毕业证书)都灵大学毕业证Offer一模一样原版制作(UNITO毕业证书)都灵大学毕业证Offer一模一样
原版制作(UNITO毕业证书)都灵大学毕业证Offer一模一样
dxtmnb3y
 
Ealing London Independent Photography meeting - June 2024
Ealing London Independent Photography meeting - June 2024Ealing London Independent Photography meeting - June 2024
Ealing London Independent Photography meeting - June 2024
Sean McDonnell
 
Mr. Brainwash ❤️ Beautiful Girl _ FRANK FLUEGEL GALERIE.pdf
Mr. Brainwash ❤️ Beautiful Girl _ FRANK FLUEGEL GALERIE.pdfMr. Brainwash ❤️ Beautiful Girl _ FRANK FLUEGEL GALERIE.pdf
Mr. Brainwash ❤️ Beautiful Girl _ FRANK FLUEGEL GALERIE.pdf
Frank Fluegel
 
➒➌➎➏➑➐➋➑➐➐ Kalyan Matka Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Kalyan Matka Satta Matka Dpboss Matka Guessing Indian Matka➒➌➎➏➑➐➋➑➐➐ Kalyan Matka Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Kalyan Matka Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐Dpboss Matka Guessing Satta Matka Kalyan Chart Indian Matka
 
Minor_Michael_PowerPoint-Presentation.pptx
Minor_Michael_PowerPoint-Presentation.pptxMinor_Michael_PowerPoint-Presentation.pptx
Minor_Michael_PowerPoint-Presentation.pptx
MichaelMinor19
 
Jennifer Murillo's Storyboard: Bardic Sandbag
Jennifer Murillo's Storyboard: Bardic SandbagJennifer Murillo's Storyboard: Bardic Sandbag
Jennifer Murillo's Storyboard: Bardic Sandbag
mariajennifermurillo
 
Have a Nice Day Scene 3 .pdf
Have a Nice Day Scene 3              .pdfHave a Nice Day Scene 3              .pdf
Have a Nice Day Scene 3 .pdf
ElenaKrasteva9
 
哪里办理(sjsu毕业证书)美国圣何塞州立大学毕业证硕士文凭证书原版一模一样
哪里办理(sjsu毕业证书)美国圣何塞州立大学毕业证硕士文凭证书原版一模一样哪里办理(sjsu毕业证书)美国圣何塞州立大学毕业证硕士文凭证书原版一模一样
哪里办理(sjsu毕业证书)美国圣何塞州立大学毕业证硕士文凭证书原版一模一样
19rmjonz
 
Tanjore Painting: Rich Heritage and Intricate Craftsmanship | Cottage9
Tanjore Painting: Rich Heritage and Intricate Craftsmanship | Cottage9Tanjore Painting: Rich Heritage and Intricate Craftsmanship | Cottage9
Tanjore Painting: Rich Heritage and Intricate Craftsmanship | Cottage9
Cottage9 Enterprises
 
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐Dpboss Matka Guessing Satta Matka Kalyan Chart Indian Matka
 
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing
➒➌➎➏➑➐➋➑➐➐  Satta Matka Dpboss Matka Guessing➒➌➎➏➑➐➋➑➐➐  Satta Matka Dpboss Matka Guessing
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing
➒➌➎➏➑➐➋➑➐➐Dpboss Matka Guessing Satta Matka Kalyan Chart Indian Matka
 
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐Dpboss Matka Guessing Satta Matka Kalyan Chart Indian Matka
 
SSG Boorman Purple Heart found research.pdf
SSG Boorman Purple Heart found research.pdfSSG Boorman Purple Heart found research.pdf
SSG Boorman Purple Heart found research.pdf
rbakerj2
 
This is a test powerpoint!!!!!!!!!!!!!!!
This is a test powerpoint!!!!!!!!!!!!!!!This is a test powerpoint!!!!!!!!!!!!!!!
This is a test powerpoint!!!!!!!!!!!!!!!
briannedpegg
 
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing
➒➌➎➏➑➐➋➑➐➐Dpboss Matka Guessing Satta Matka Kalyan Chart Indian Matka
 
➒➌➎➏➑➐➋➑➐➐ Dpboss Matka Guessing Satta Matka Kalyan panel Chart Indian Matka ...
➒➌➎➏➑➐➋➑➐➐ Dpboss Matka Guessing Satta Matka Kalyan panel Chart Indian Matka ...➒➌➎➏➑➐➋➑➐➐ Dpboss Matka Guessing Satta Matka Kalyan panel Chart Indian Matka ...
➒➌➎➏➑➐➋➑➐➐ Dpboss Matka Guessing Satta Matka Kalyan panel Chart Indian Matka ...
➒➌➎➏➑➐➋➑➐➐Dpboss Matka Guessing Satta Matka Kalyan Chart Indian Matka
 
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐Dpboss Matka Guessing Satta Matka Kalyan Chart Indian Matka
 

Recently uploaded (20)

一比一原版迪肯大学毕业证(DU毕业证书)学历如何办理
一比一原版迪肯大学毕业证(DU毕业证书)学历如何办理一比一原版迪肯大学毕业证(DU毕业证书)学历如何办理
一比一原版迪肯大学毕业证(DU毕业证书)学历如何办理
 
SHIVNA SAHITYIKI OCTOBER DECEMBER 2023 II.pdf
SHIVNA SAHITYIKI OCTOBER DECEMBER 2023 II.pdfSHIVNA SAHITYIKI OCTOBER DECEMBER 2023 II.pdf
SHIVNA SAHITYIKI OCTOBER DECEMBER 2023 II.pdf
 
❼❷⓿❺❻❷❽❷❼❽ Dpboss Matka ! Fix Satta Matka ! Matka Result ! Matka Guessing ! ...
❼❷⓿❺❻❷❽❷❼❽  Dpboss Matka ! Fix Satta Matka ! Matka Result ! Matka Guessing ! ...❼❷⓿❺❻❷❽❷❼❽  Dpboss Matka ! Fix Satta Matka ! Matka Result ! Matka Guessing ! ...
❼❷⓿❺❻❷❽❷❼❽ Dpboss Matka ! Fix Satta Matka ! Matka Result ! Matka Guessing ! ...
 
原版制作(UNITO毕业证书)都灵大学毕业证Offer一模一样
原版制作(UNITO毕业证书)都灵大学毕业证Offer一模一样原版制作(UNITO毕业证书)都灵大学毕业证Offer一模一样
原版制作(UNITO毕业证书)都灵大学毕业证Offer一模一样
 
Ealing London Independent Photography meeting - June 2024
Ealing London Independent Photography meeting - June 2024Ealing London Independent Photography meeting - June 2024
Ealing London Independent Photography meeting - June 2024
 
Mr. Brainwash ❤️ Beautiful Girl _ FRANK FLUEGEL GALERIE.pdf
Mr. Brainwash ❤️ Beautiful Girl _ FRANK FLUEGEL GALERIE.pdfMr. Brainwash ❤️ Beautiful Girl _ FRANK FLUEGEL GALERIE.pdf
Mr. Brainwash ❤️ Beautiful Girl _ FRANK FLUEGEL GALERIE.pdf
 
➒➌➎➏➑➐➋➑➐➐ Kalyan Matka Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Kalyan Matka Satta Matka Dpboss Matka Guessing Indian Matka➒➌➎➏➑➐➋➑➐➐ Kalyan Matka Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Kalyan Matka Satta Matka Dpboss Matka Guessing Indian Matka
 
Minor_Michael_PowerPoint-Presentation.pptx
Minor_Michael_PowerPoint-Presentation.pptxMinor_Michael_PowerPoint-Presentation.pptx
Minor_Michael_PowerPoint-Presentation.pptx
 
Jennifer Murillo's Storyboard: Bardic Sandbag
Jennifer Murillo's Storyboard: Bardic SandbagJennifer Murillo's Storyboard: Bardic Sandbag
Jennifer Murillo's Storyboard: Bardic Sandbag
 
Have a Nice Day Scene 3 .pdf
Have a Nice Day Scene 3              .pdfHave a Nice Day Scene 3              .pdf
Have a Nice Day Scene 3 .pdf
 
哪里办理(sjsu毕业证书)美国圣何塞州立大学毕业证硕士文凭证书原版一模一样
哪里办理(sjsu毕业证书)美国圣何塞州立大学毕业证硕士文凭证书原版一模一样哪里办理(sjsu毕业证书)美国圣何塞州立大学毕业证硕士文凭证书原版一模一样
哪里办理(sjsu毕业证书)美国圣何塞州立大学毕业证硕士文凭证书原版一模一样
 
Tanjore Painting: Rich Heritage and Intricate Craftsmanship | Cottage9
Tanjore Painting: Rich Heritage and Intricate Craftsmanship | Cottage9Tanjore Painting: Rich Heritage and Intricate Craftsmanship | Cottage9
Tanjore Painting: Rich Heritage and Intricate Craftsmanship | Cottage9
 
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
 
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing
➒➌➎➏➑➐➋➑➐➐  Satta Matka Dpboss Matka Guessing➒➌➎➏➑➐➋➑➐➐  Satta Matka Dpboss Matka Guessing
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing
 
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
 
SSG Boorman Purple Heart found research.pdf
SSG Boorman Purple Heart found research.pdfSSG Boorman Purple Heart found research.pdf
SSG Boorman Purple Heart found research.pdf
 
This is a test powerpoint!!!!!!!!!!!!!!!
This is a test powerpoint!!!!!!!!!!!!!!!This is a test powerpoint!!!!!!!!!!!!!!!
This is a test powerpoint!!!!!!!!!!!!!!!
 
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing
 
➒➌➎➏➑➐➋➑➐➐ Dpboss Matka Guessing Satta Matka Kalyan panel Chart Indian Matka ...
➒➌➎➏➑➐➋➑➐➐ Dpboss Matka Guessing Satta Matka Kalyan panel Chart Indian Matka ...➒➌➎➏➑➐➋➑➐➐ Dpboss Matka Guessing Satta Matka Kalyan panel Chart Indian Matka ...
➒➌➎➏➑➐➋➑➐➐ Dpboss Matka Guessing Satta Matka Kalyan panel Chart Indian Matka ...
 
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
➒➌➎➏➑➐➋➑➐➐ Satta Matka Dpboss Matka Guessing Indian Matka
 

Ch07 cmpt110

  • 1. Succeeding in Business with Microsoft Access 2013 Enhancing User Interaction Through Programming Chapter 7
  • 2. Succeeding in Business with Microsoft Access 2013 Chapter Introduction • Visual basic for applications (VBA) – Fully customize and automate a database – Perform more complex validity checking – Use functions and actions not available with macros 2
  • 3. Succeeding in Business with Microsoft Access 2013 Tools Covered in This Chapter • Assignment statement • Breakpoints • Code window • DateDiff function • DateSerial function • Debug • DoCmd statement 3
  • 4. Succeeding in Business with Microsoft Access 2013 Tools Covered in This Chapter (cont’d.) • If statement • Immediate window • Variables • Visual Basic editor • Watch window 4
  • 5. Succeeding in Business with Microsoft Access 2013 Level 1 Objectives: Writing Visual Basic for Applications Code • Understand Visual Basic for Applications programming • Design, create, and test a subroutine in a standard module • Design, create, and test an event procedure • Design, create, and test a function in a standard module 5
  • 6. Succeeding in Business with Microsoft Access 2013 Understanding Visual Basic for Applications • Programming language for Microsoft Office programs – Including Access • Common syntax and set of common features for all Microsoft Office programs • Features unique for each Microsoft Office program • Use programming language – Write set of instructions to direct computer to perform specific operations in specific order 6
  • 7. Succeeding in Business with Microsoft Access 2013 Understanding Visual Basic for Applications (cont’d.) • Coding • Statement • Event-driven language • Object-oriented language 7
  • 8. Succeeding in Business with Microsoft Access 2013 Event-Driven Programming • Event – State, condition, or occurrence that Access recognizes – Has associated event property – Appears in property sheet for forms reports, and controls • Create group of statements using VBA code – Set event property value to name of that group of statements – Event procedure 8
  • 9. Succeeding in Business with Microsoft Access 2013 9
  • 10. Succeeding in Business with Microsoft Access 2013 10 Table 7.2: Common events for selected controls
  • 11. Succeeding in Business with Microsoft Access 2013 Coding VBA • Types of procedures – Function procedures • Performs operations • Returns value • Accepts input values • Can be used in expressions – Sub procedures • Performs operations and accepts input values • Does not return value • Cannot be used in expressions 11
  • 12. Succeeding in Business with Microsoft Access 2013 Coding VBA (cont’d.) • Module – Group of related procedures – Starts with Declarations section – One or more procedures • Basic types of modules – Standard modules • Database object stored in memory • Use from anywhere in database – Class modules • Usually associated with particular form or report 12
  • 13. Succeeding in Business with Microsoft Access 2013 Coding VBA (cont’d.) • Public procedure – More than one object can use • Local procedure or a private procedure – Can only be used by the form or report for which class module created 13
  • 14. Succeeding in Business with Microsoft Access 2013 Creating a Subroutine in a Standard Module • Replace macros with VBA procedures – Better error handling and greater capabilities – Some tasks cannot be performed with VBA • AutoKeys • AutoExec 14
  • 15. Succeeding in Business with Microsoft Access 2013 Creating a New Standard Module • Click CREATE tab – Click Module button in the Macros & Code group • Begin new procedure in module – Click Insert menu – Click procedure – Type name – Select options 15
  • 16. Succeeding in Business with Microsoft Access 2013 Creating a New Standard Module (cont’d.) • Visual Basic Editor (VBE) – Create and modify VBA code • Visual Basic window – Program window that opens within VBE • Code window – Window to create modify and display specific VBA procedures – Can have as many code windows open as modules in database 16
  • 17. Succeeding in Business with Microsoft Access 2013 Creating a New Standard Module (cont’d.) • Sub statement – Ends with End Sub statement – Includes • Scope of procedure • Name of procedure • Opening and closing parenthesis • Option compare statement – Designates technique Access uses to compare and sort text data 17
  • 18. Succeeding in Business with Microsoft Access 2013 Creating a Subroutine • Type statements in procedure between Sub and End Sub statements • DoCmd statement – Executes action in procedure – Access object • Method – Function or procedure that operates on specific objects or controls 18
  • 19. Succeeding in Business with Microsoft Access 2013 Creating a Subroutine (cont’d.) • Comment – Include anywhere in VBA procedure – Describe what procedure or statement does • Make it easier for programmers to identify purpose of statements – Begin comment with • Word Rem (for “remark”) • Or single quotation mark (') – Appear green in code window 19
  • 20. Succeeding in Business with Microsoft Access 2013 Creating a Subroutine (cont’d.) • Line label – Statement that serves as starting point for block of statements in procedure – Begins at start of line and ends with semicolon (;) • Run procedure – Click Run Sub/UserForm button • Save module – Click Save button 20
  • 21. Succeeding in Business with Microsoft Access 2013 Designing an Event Procedure in a Form’s Class Module • Associate procedure with form’s BeforeUpdate event property – Runs for the current record – Triggered when moving to another record • Add event procedure – Open Property Sheet for form – Switch to Event tab – Click BeforeUpdate box list arrow – Click [Event Procedure] – Click Build button in BeforeUpdate box 21
  • 22. Succeeding in Business with Microsoft Access 2013 Using the If Statement in Decision Making • Decision-making statement – Executes group of statements based on outcome of condition – In simplest statement, Access executes a group of statements if the condition is true • Executes nothing if False 22
  • 23. Succeeding in Business with Microsoft Access 2013 Using the If Statement in Decision Making (cont’d.) • If statement – Tests condition follows one of two paths depending on outcome of condition – General form • If condition Then – True-statement group • [Else – False-statement group] • End If 23
  • 24. Succeeding in Business with Microsoft Access 2013 Using the If Statement in Decision Making (cont’d.) • Assignment statement – Assigns value of expression to control or property – Example • EstSalary.ForeColor = vbGreen • ForeColor property • Color constants – Predefined VBA names – Have values that represent system color value • IsNull function returns – True value when field or control null – False when not 24
  • 25. Succeeding in Business with Microsoft Access 2013 Testing an Event Procedure • Switch to Form view • Navigate through records – Make sure results correct in different situations 25
  • 26. Succeeding in Business with Microsoft Access 2013 Using a Function in a Standard Module • Similar calculation requests – Create function to perform calculation – Change the calculation in only one place to correct an inaccuracy or enhance the calculation 26
  • 27. Succeeding in Business with Microsoft Access 2013 Using Functions in VBA • Similar to way built-in functions used – Access encounters a function name – Executes the function – Passes the argument values to the function – The function performs its operations – When finished, the calculated value replaces the function in the expression 27
  • 28. Succeeding in Business with Microsoft Access 2013 Using Functions in VBA (cont’d.) • VBA naming rules – Must begin with letter – Cannot exceed 255 characters – Include letters numbers and underscore character – Cannot use space, punctuation, or special characters – Cannot be same as keywords or reserved words – Each variable has data type • A function begins with a Function statement and ends with an End Function statement 28
  • 29. Succeeding in Business with Microsoft Access 2013 29
  • 30. Succeeding in Business with Microsoft Access 2013 Using Variables • Named location in computer memory • Can contain value • Use to store and retrieve data • Reference a memory location using variable name assigned to the location • Holds only one value at a time 30
  • 31. Succeeding in Business with Microsoft Access 2013 Testing a Function in the Immediate Window • When statement entered – Editor checks statement to make sure syntax correct • Logic error – Occurs when procedure produces incorrect results • Immediate window – Test VBA procedures without changing data in database – Enter different values to test procedure 31
  • 32. Succeeding in Business with Microsoft Access 2013 Testing a Function in the Immediate Window (cont’d.) • Immediate window – Type keyword “print” or question mark (?) – Followed by procedure name and argument values to test in parentheses and separated by commas – Access executes the function and prints the value returned by the function 32
  • 33. Succeeding in Business with Microsoft Access 2013 Modifying Functions • A number of solutions can solve a single problem – Some solutions are long and complicated – Others are short and simple • DateSerial function – Returns a value for a specified year, month, and day • Access stores – A True comparison result as a zero value – A False comparison result as a value of minus one (-1) 33
  • 34. Succeeding in Business with Microsoft Access 2013 Level 1 Summary • VBA – Programming language for Microsoft Office programs • Create procedures in module • Event-driven programming – Program statement execution triggered by events • If statement – Used to make decisions • Function – Returns a value 34
  • 35. Succeeding in Business with Microsoft Access 2013 Level 2 Objectives: Using Custom Functions and Verifying Data • Design, create, and test a custom function in an event procedure • Verify data using event procedures • Use the case control structure 35
  • 36. Succeeding in Business with Microsoft Access 2013 Enhancing an Event Procedure to Use a Custom Function • Add functionality to display a message or perform a calculation – Add a text box to display the message – Add VBA statements to BeforeUpdate event procedure so the focus changes to a new record – Design decision-making logic in the VBA procedure to perform the calculation – Design additional decision-making logic to make the text box control visible or not 36
  • 37. Succeeding in Business with Microsoft Access 2013 Using an ElseIf Statement in an If Statement • Date function – Returns current computer system date • ElseIf statement – Equivalent to Else clause followed by If statement • Choice of which If statement version used – Matter of personal preference • Arranging order of condition testing – Order of condition testing critical – Place conditions in order from least inclusive to most inclusive 37
  • 38. Succeeding in Business with Microsoft Access 2013 38 Figure 7.14: Comparing an ElseIf clause with an Else…If clause
  • 39. Succeeding in Business with Microsoft Access 2013 Using an ElseIf Statement in an If Statement (cont’d.) • Dim statement – Declare variables and associated data types in procedure 39
  • 40. Succeeding in Business with Microsoft Access 2013 Verifying Data with VBA • Before Update event – Occurs before changed data in control or record updated in database – Use to verify entered data 40
  • 41. Succeeding in Business with Microsoft Access 2013 Designing the Field Validation Procedure to Verify Zip Codes • Dim ZipFirstThree As Integer – Declares the integer variable named ZipFirstThree – Verifies that ZIP codes begin in the correct range – Uses the built-in Val and Left functions • Left function – Returns string containing specified number of characters from left side of specified string • Val function – Returns numbers contained in specified string as numeric value 41
  • 42. Succeeding in Business with Microsoft Access 2013 Using the Case Control Structure • Control structure – Set of VBA statements work together as a unit • Case control structure – Evaluates expression – Performs one of several alternative sets of statements – Based on resulting value (or condition) of evaluated expression 42
  • 43. Succeeding in Business with Microsoft Access 2013 Using the Case Control Structure (cont’d.) • Use Case Else statement as last Case statement – Include false-statement group • SetFocus – Moves focus to specified object or control 43
  • 44. Succeeding in Business with Microsoft Access 2013 Testing the Field Validation Procedure to Verify ZIP Codes • Switch to Form view to test validation procedure • Using event procedure for control or form – BeforeUpdate event for each control on form – Disadvantage • All changes made to record canceled 44
  • 45. Succeeding in Business with Microsoft Access 2013 Designing the Field Validation Procedure to Verify Phone Area Codes • Must test first three digits of phone number • Message can suggest potential error – Must accept any phone area code entry 45
  • 46. Succeeding in Business with Microsoft Access 2013 Level 2 Summary • ElseIf statement • Case Control structure • Verify data using VBA 46
  • 47. Succeeding in Business with Microsoft Access 2013 Level 3 Objectives: Testing and Exploring VBA • Troubleshoot VBA procedure errors • Compile modules • Develop sources for learning VBA 47
  • 48. Succeeding in Business with Microsoft Access 2013 Troubleshooting VBA Procedures • Syntax error – Occurs when VBA statement violates language rules for statement such as • Misspelling • Incorrect sequence of keywords • Missing parenthesis – Detected immediately when statement completed • Error message opens and explains error 48
  • 49. Succeeding in Business with Microsoft Access 2013 49
  • 50. Succeeding in Business with Microsoft Access 2013 Troubleshooting VBA Procedures (cont’d.) • Compilation error – Occurs when procedures translated into form computer cannot understand • Compilation – Process of translating modules from VBA to form computer understands 50
  • 51. Succeeding in Business with Microsoft Access 2013 Troubleshooting VBA Procedures (cont’d.) • Prevent compilation errors at run time – Use Compile command on Debug menu – Compile as last step before saving module • Execution error or run-time error – Occurs when procedure executes and stops because it tries to perform operation that is impossible to perform 51
  • 52. Succeeding in Business with Microsoft Access 2013 Using the Debugger to Correct Errors • Breakpoint – Run subroutine or function up until line on which breakpoint set – Procedure halts execution at breakpoint and displays module screen – Good way to isolate place at which procedure stops producing anticipated result 52
  • 53. Succeeding in Business with Microsoft Access 2013 Using the Debugger to Correct Errors (cont’d.) • Use mouse pointer to get more information about procedure – Pointing to variable name displays ScreenTip with value contained in variable at point that procedure halted • Execute procedure one statement at a time – Try and identify cause of error – Click Debug on menu bar • Click Step Into 53
  • 54. Succeeding in Business with Microsoft Access 2013 Using the Debugger to Correct Errors (cont’d.) • Step Into – Procedure executes next statement and stops • Step Out – Executes current subroutine or function and then halts • Reset button – Stops debugger so you can fix problem • Recompile and save • When done, click Debug and Clear all Breakpoints 54
  • 55. Succeeding in Business with Microsoft Access 2013 Identifying Errors Using the Watch Window • Watch window – Shows current value of specified variable • Add Watch dialog box – Enter variable name to watch • “<Out of context>” in Value column – Appears for watch expression – When Access not executing procedure that contains watch expression 55
  • 56. Succeeding in Business with Microsoft Access 2013 56 Figure 7.28: Add Watch dialog box
  • 57. Succeeding in Business with Microsoft Access 2013 Building Procedures Slowly to Isolate Problems • Prevent problems in procedures – Build them slowly using small groups of statements – Prove them to be correct as you go • Easier to correct small groups than long procedure 57
  • 58. Succeeding in Business with Microsoft Access 2013 Using Help to Learn More About Programming and VBA • Access Help contains useful information about programming in Access and VBA – F1 Help downloaded at installation – Help button (? symbol) on the Ribbon – Click in the Search box and type the topic you would like to search 58
  • 59. Succeeding in Business with Microsoft Access 2013 59 Figure 7.32: Access Help on Visual Basic
  • 60. Succeeding in Business with Microsoft Access 2013 Level 3 Summary • Errors – Syntax – Compilation – Execution or run-time • Debugger – Use to find and correct errors • Help – Learn more about VBA 60
  • 61. Succeeding in Business with Microsoft Access 2013 Chapter Summary • Enhance a form using VBA procedures – Subroutine – Event procedure – Code control structure adds to decision making – Variables • Custom functions • Troubleshooting errors – Breakpoints • Access Help 61