Chapter 5 Files/Folders needed: \Chapter5\Samples \Chapter5\Labs.

Slides:



Advertisements
Similar presentations
CS1100: Computer Science and Its Applications Building Flexible Models in Microsoft Excel.
Advertisements

© Paradigm Publishing, Inc Excel 2013 Level 2 Unit 1Advanced Formatting, Formulas, and Data Management Chapter 2Advanced Functions and Formulas.
Chapter 2 Formulas, Functions, and Formatting
Lesson 3 Text in Publications.  Prepare layout for a publication  Develop text boxes for a publication  Use bullets and numbering in a publication.
Chapter 10 Introduction to Arrays
Copyright 2003 Peter McDevitt 1 Microsoft Excel 2002 Lecture 3 – A Professional Looking Worksheet.
Chapter 5 Creating, Sorting, and Querying a Table
CS320n –Visual Programming LabVIEW Foundations. Visual ProgrammingLabVIEW Foundations2 What We Will Do Today Hand back and review the midterm Look at.
ASP.NET Programming with C# and SQL Server First Edition
Microsoft Excel 2010 Chapter 8
State of Connecticut Core-CT Project Query 4 hrs Updated 1/21/2011.
MS-Access XP Lesson 5. Creating a Query with Expression Builder Eg. Consider the following table. Table Name: Overtime Fields & Data types: Emp No (Number),
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Chapter 2 Querying a Database
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
Chapter 3 Maintaining a Database
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall 1 1. Chapter 2: Relational Databases and Multi-Table Queries Exploring Microsoft Office.
1 Chapter 5: Creating Summarized Output 5.1 Generating Summary Statistics 5.2 Creating a Summary Report with the Summary Tables Task 5.3 Creating and Applying.
Advanced Forms Lesson 10.
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
Copyright © 2010 Pearson Education, Inc. Publishing as Prentice Hall1 Exploring Microsoft Office Access Committed to Shaping the Next Generation.
Programming with Microsoft Visual Basic 2012 Chapter 12: Web Applications.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
XP Spreadsheet Presentation. XP Objectives Understand the use of spreadsheets and Excel Learn the parts of the Excel window Scroll through a worksheet.
February 2006Colby College ITS Formatting Techniques for Excel 2003.
Data-mining & Data As we used Excel that has capability to analyze data to find important information, the data-mining helps us to extract information.
Chapter 6 Advanced Report Techniques
Multiple Forms, Container Controls, AddHandler This presentation is based on the Forms and ContainerControls VB Projects 1.
CHAPTER 13 Creating a Workbook Part 2. Learning Objectives Work with cells and ranges Work with formulas and functions Preview and print a workbook 2.
Microsoft Visual Basic 2010: Reloaded Fourth Edition Chapter Twelve Access Databases and LINQ.
Using Advanced Formatting and Analysis Tools. 2 Working with Grouped Worksheets: Grouping Worksheets  Data is entered simultaneously on all worksheets.
XP New Perspectives on Integrating Microsoft Office XP Tutorial 2 1 Integrating Microsoft Office XP Tutorial 2 – Integrating Word, Excel, and Access.
Lesson 2.  To help ensure accurate data, rules that check entries against specified values can be applied to a field. A validation rule is applied to.
Microsoft Visual Basic 2005 ENRICHMENT CHAPTER Visual Studio Tools for Office.
1 Lesson 18 Organizing and Enhancing Worksheets Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 7 Using Menus, Common Dialogs, Procedures, Functions, and Arrays.
In Business Series © Prentice Hall Microsoft Office Excel 2007 In Business Core Chapter 2 Excel Basics.
® Microsoft Office 2010 Access Tutorial 3 Maintaining and Querying a Database.
Office Management Tools II Ms Saima Gul. Office Management Tools II Ms Saima Gul.
Chapter 10 Files/Folders needed: \Chapter10\Samples \Chapter10\Labs.
Chapter 1 Creating a Worksheet and a Chart
CTS130 Spreadsheet Lesson 9 - Building Charts. What is a Chart? A chart is a visual display of information in a worksheet. Charts can help you make comparisons,
Microsoft Access 2010 Chapter 8 Advanced Form Techniques.
Databases,Tables and Forms Access Text by Grauer Chapters 1 & 2.
1/62 Introduction to and Using MS Access Database Management and Analysis Yunho Song.
Chapter 4 Files/Folders needed: \Chapter4\Samples \Chapter4\Labs.
1 MIS309 Database Systems Introduction to Microsoft Access.
McGraw-Hill Technology Education © 2004 by the McGraw-Hill Companies, Inc. All rights reserved. Office Access 2003 Lab 2 Modifying a Table and Creating.
Graphical Enablement In this presentation… –What is graphical enablement? –Introduction to newlook dialogs and tools used to graphical enable System i.
Introduction to a Database Defining a database Database window in Access The six items in window: Tables, Queries Forms, Reports, Macros, Modules.
INTRODUCTION TO DATABASE USING MICROSOFT ACCESS 2013 Part 5.2 November 16, 2014.
Microsoft Excel 2010 Chapter 2 Formulas, Functions, and Formatting.
Lesson 4.  After a table has been created, you may need to modify it. You can make many changes to a table—or other database object—using its property.
Modify Tables and FieldsModify Tables and Fields Lesson 4 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 1 Microsoft Office Access 2003 Tutorial 5 – Enhancing a Table’s Design.
Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 101 Integrating Components and Dynamic Text Boxes with the Animated Map Lesson.
Excel Chapter 3 What-If Analysis, Charting, and Working with Large Worksheets Discovering Computers & Microsoft Office 2010.
CONDITIONAL FORMATTING AND CUSTOM NUMBER FORMATS LEC 5 1.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall. 1 Skills for Success with Microsoft ® Office 2007 PowerPoint Lecture to Accompany.
Microsoft Office XP Illustrated Introductory, Enhanced Started with Access 2002 Getting.
Chapter 7 Creating Templates, Importing Data, and Working with SmartArt, Images, and Screen Shots Microsoft Excel 2013.
Excel Chapter 1 Creating a Worksheet and an Embedded Chart
Chapter 8 Working with Trendlines, PivotTable Reports, PivotChart Reports, and Slicers Microsoft Excel 2013.
Microsoft Visual Basic 2010: Reloaded Fourth Edition
Computer Fundamentals
Microsoft Office Access 2010 Lab 2
Unit Six: Labels In this unit… Review Adding Text to Maps
Microsoft Office Access 2003
Working With Databases
Lesson 13 Working with Tables
Presentation transcript:

Chapter 5 Files/Folders needed: \Chapter5\Samples \Chapter5\Labs

Understanding Expressions Defining Expressions Working with Report Variables Enhance Formatting by Using Expressions Understanding Lookup, LookupSet, and Multilookup Functions Expression Samples

 Many uses ◦ Create aggregates ◦ Compute complex values ◦ Dynamically hide and show values ◦ Format based on a value  Simple expressions =Fields!Product.Value  Expression with multiple functions =IIf((RowNumber(Nothing) Mod 2)=0, "LightGrey“, "LightSteelBlue")

 Expressions written in Visual Basic (with some unique rules)  Many code parts are case sensitive  Double quotes (" ") surround string values ◦ Be careful of “Smart Quotes” when copying from MS Word  No underscore (_) for line continuation ◦ Use a hard return alone to make code more readable  Data type conversions and functions use standard VB naming

 Accessed through Expression menu options, or the function button.  Type code directly in the box, or double-click a value or item  Red wavy underlines may indicate errors ◦ Some errors won’t be obvious until you preview the report

 Options change based on Category field selected

 Added through Report Properties dialog box  Accessed from the Report menu  Evaluated once per report  Used anywhere in the report

 Returns data from a second dataset  Each requires 4 input parameters ◦ The source key or names to lookup ◦ The destination key or name to match on ◦ The expression to be returned ◦ The destination dataset name

=Lookup(Fields!BusinessEntityID.Value, Fields!SalesPersonID.Value, Fields!TotalSales.Value, "SalesPersonTotalSales")  Returns one value for each source key of name ◦ For example – returns an account description located in an Excel spreadsheet to match the account code listed in the dataset that is bound to a table.

 Returns all values that match the source key or name  Passes a set (or array) back to the expression ◦ For example, locate in a different dataset, all order dates for a particular customer, and list them as a single value in a new column. =Join(LookupSet(Fields!BusinessEntityID.Value, Fields!SalesPersonID.Value,Fields!SalesOrderID.Value, "SalesOrders“ ), “, “ & vbCrLf)

 Handles many-to-many relationships between the two datasets  The source may be an array that needs to be split ◦ Example – Look up a list of countries where each employee has placed orders. The list of order numbers associated with the employee must be split and then an array of countries will be returned.  The source may be a multi-valued parameter

 Derived columns based on an expression ◦ Add a weight range title to a new column ◦ Add a member level based on early purchases  Format based on an expression ◦ Change the background color of every other row ◦ Change the font color for rows with high sales

 Exercise 1: Using Expressions to Work With Dates  Exercise 2: Using Expressions to Manipulate Data