Chuck’s Academy of Function Anatomy An ACEware Webinar Part 2.

Slides:



Advertisements
Similar presentations
Microsoft ® Access ® 2010 Training Create queries for a new database.
Advertisements

Accessing and Using the e-Book Collection from EBSCOhost ® When an arrow appears, click to proceed to the next slide at your own pace. To go back, click.
Student Manager Catalog Builder An ACEware Webinar.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making.
Databases Lab 5 Further Select Statements. Functions in SQL There are many types of functions provided. The ones that are used most are: –Date and Time.
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Databases Tutorial 2 Further Select Statements. Objectives for Week Data types Sort retrieved data Formatting output.
Reporting Basics ( Cooking.. Reports … with Chuck ) An ACEware Webinar.
An ACEware Presentation.  Dashboard, PayGrabber & Find Them  Reports About Reports  Deactivating Reports  Recycling Reports & Queries  Query Tips.
Extreme Reporting An ACEware webinar February 28, 2008.
Reporting Aesthetics An ACEware Webinar 1:00-2:00 pm February 14 th, 2008.
Data Types and Field Properties 5.01 Understand database tables used in business.
Chapter 2 Querying a Database
1 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and Custom Forms.
Input/Output  Input/Output operations are performed using input/output functions  Common input/output functions are provided as part of C’s standard.
8 Copyright © 2004, Oracle. All rights reserved. Creating LOVs and Editors.
Introduction to Access By Mary Ann Chaney and Alicia Harkleroad.
Chapter 2 Querying a Database MICROSOFT ACCESS 2010.
CS0004: Introduction to Programming Input and Output.
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
Chapter 10 Queries and Updating Part C. SQL Copyright 2005 Radian Publishing Co.
Intermediate Reporting An ACEware Webinar 1-2:30 pm, Thursday February 21st, 2008.
Lesson 1: Introduction to ABAP OBJECTS Todd A. Boyle, Ph.D. St. Francis Xavier University.
PMS /134/182 HEX 0886B6 PMS /39/80 HEX 5E2750 PMS /168/180 HEX 00A8B4 PMS /190/40 HEX 66CC33 By Adrian Gardener Date 9 July 2012.
XP Agenda Video Last Class Excel Tutorial 5: Working with Excel Lists Agenda for Next Class 1 New Perspectives on Microsoft Office Excel 2003 Tutorial.
 A database is a collection of data that is organized so that its contents can easily be accessed, managed, and updated. What is Database?
Mastering Char to ASCII AND DOING MORE RELATED STRING MANIPULATION Why VB.Net ?  The Language resembles Pseudocode - good for teaching and learning fundamentals.
Analyzing Data For Effective Decision Making Chapter 3.
Chapter 10 Selected Single-Row Functions Oracle 10g: SQL.
Microsoft ® Access ® 2010 Training Create Queries for a New Database If a yellow security bar appears at the top of the screen in PowerPoint, click Enable.
1 Advanced Topics in Access How to create forms and reports Andrew Yu 03/04/2002.
Chuck’s Academy of Function Academy An ACEware Webinar.
Basic & Advanced Reporting in TIMSNT ** Part Two **
Chapter 17 Creating a Database.
Oracle 11g: SQL Chapter 10 Selected Single-Row Functions.
Office 2003 Post-Advanced Concepts and Techniques M i c r o s o f t Access Project 7 Advanced Report and Form Techniques.
WHAT IS A DATABASE? A DATABASE IS A COLLECTION OF DATA RELATED TO A PARTICULAR TOPIC OR PURPOSE OR TO PUT IT SIMPLY A GENERAL PURPOSE CONTAINER FOR STORING.
Enhancing Forms with OLE Fields, Hyperlinks, and Subforms – Project 5.
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.
A Guide to SQL, Seventh Edition. Objectives Understand how to use functions in queries Use the UPPER and LOWER functions with character data Use the ROUND.
Database Applications – Microsoft Access Lesson 4 Working with Queries 36 Slides in Presentation.
IFS Intro to Data Management Chapter 5 Getting More Than Simple Columns.
Student Manager Preferences An ACEware Presentation.
Microsoft Access is a database program to manage sort retrieve group filter for certain records.
The Advantage Series © 2004 The McGraw-Hill Companies, Inc. All rights reserved Creating Select Queries Chapter 6 Microsoft Office Access 2003.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
Classwork: Common Errors Primary keys: don’t forget them! Primary keys: choose the best one! – “Name” and “birthday” are not the best choices. – “Phone.
Microsoft Office 2013 Try It! Chapter 4 Storing Data in Access.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 1 Microsoft Office Access 2003 Tutorial 5 – Enhancing a Table’s Design.
ACCESS 3. OBJECTIVES Calculated fields in query design Total option in query design Creating Forms.
Creating Advanced Queries and Enhancing Table Design.
Karolina Muszyńska
Programming with Microsoft Visual Basic 2012 Chapter 14: Access Databases and SQL.
Database (Microsoft Access). Database A database is an organized collection of related data about a specific topic or purpose. Examples of databases include:
Single Row Functions Part I Week 2. Objectives –Describe types of single row functions in SQL –Describe and use character, number and date SQL functions.
Mail Merge Introduction to Word Processing ITSW 1401 Instructor: Glenda H. Easter Introduction to Word Processing ITSW 1401 Instructor: Glenda H. Easter.
Chapter 10 Selected Single-Row Functions Oracle 10g: SQL
Practical Office 2007 Chapter 10
Input/Output Input/Output operations are performed using input/output functions Common input/output functions are provided as part of C’s standard input/output.
Chapter 7 Advanced Form Techniques
Creating and Modifying Queries
CIS16 Application Programming with Visual Basic
Exploring Microsoft® Access® 2016 Series Editor Mary Anne Poatsy
Microsoft Office Access 2003
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Exploring Microsoft Access 2003
MS Excel – Analyzing Data
Tutorial 5 Advanced Queries and Enhanced Table Design
Presentation transcript:

Chuck’s Academy of Function Anatomy An ACEware Webinar Part 2

Function Academy – Part 2 Formatting Functions Function Categories Especially Cool! Advanced and Specialized

Formatting Functions NAMER – formats name namer(rgid);nmfirm;nmaddr1;nmaddr2;nmcity,nmstate,nmzip

Formatting Functions NICEDATE – formats date nicedate(cobegdate,coenddate)nicedate(cobegdate,coenddate,3)

Formatting Functions SHOWPHON – formats phone number showphon(indphone,"Day: ");showphon(inhphone,"Eve: ")

Formatting Functions CSZR – concatenates city, state and zip (frequently combined with other functions) namer(nmid);nmtitle;nmaddr1;nmaddr2;cszr(nmid);nmcntry

Other Formatting Functions (not an inclusive list) CERTDATE - Date in formal date format (i.e., 10th day of January, 2003). CIVTIME - Returns time in civilian format (if stored in military format) DATETH - Returns formal format of day with "th", "nd", or "rd". DTOC - Converts a date expression to a character expression. INTLPHON - Returns formatted phone number for US names and unformatted number for International names. NICETIME - Translates military time into civilian time. ROUND - Rounds a numeric expression to the nearest value, depending on the number of specified decimals. SHOWDOW - Returns the days of the week a class meets (the record is saved as "_X_XX_X" and is translated to: M W H S). SHOWSAL - Expands abbreviated salutations stored in the NMSALUT field. TNAMER - Returns formatted Instructor Name. TRIM - Trims spaces off the end of a character expression. UPPER - Returns the specified field in Upper Case.

Other Function Categories

Especially cool! AGE – Calculates the number of years between two dates AGE(nmbirth)

Especially cool! GETDATA – Opens a message box in which you can enter a temporary message to be used in a report. (Used in a JUSTDOIT) Required Parameters: Character title expression (i.e. text that will display at the top of the message box) Input variable. Variable can be a date, (e.g. ctod('//') ), a number (e.g. 0.00), or character. If character, use the SPACE() function to specify desired length (i.e. SPACE(50) creates a data entry field 50 characters in length). Note: if you wish to enter a large text block (i.e. a memo), enter a space value 251- SPACE(251). This will let you enter large blocks of text in a scrolling data window.

Especially cool! GETDATA (continued)

Especially cool! JUSTDOIT with GetData Function GetData Function

Especially cool! WHAZZIS – Displays query used on report whazzis(.t.) Optional Parameters: "A" = Query Name, Query Field and Query Value "Q" = Query Name Only "V" = Query Value Only "QV" = Query Name and Value "+" = Query Name and Report Name "++" = Query Name, Report Name and Report Title

Especially cool! QuikCode – shows code description (instead of code) iif(empt(rgtrack),'NO CODE',quikcode(RGTRACK))

Chuck’s Favorites Sometimes we have to humour the boss!

SHOWEXP Don’t forget to add your formatting! SHOWEXP

ADDOMNI When it absolutely, positively has to be there! Returns any field from any table in the system (key value must be in cursor). Required Parameters: Table you want to return a field from in quotes (i.e. "NAMES", "COURSE", "REGISTER") Key from above table in quotes (i.e. "nmid" or "nmid+rgcrse") Key from report cursor, NO quotes (i.e. nmid or nmid+cocrse) Field from specified table to return (i.e. "nmsalut", "cosubcode", "rggrade")

FINDINST FINDINST can display more than a name! 1= Name and SSN 2= Name only 3= Name, day phone, and eve phone 4= Name-Last Name, First Name 5= Name and Address in block form 6= Name, Address and Phone #'s in block form 7= Name and user defined char string (enter char string as parameter 3) 8= Name, SSN, and Pay description

Justdoit JUSTDOIT is a specialized report function that uses SQL to request and manipulate information from the data tables. What can a JUSTDOIT do? change the sort order of data in a report filter out unwanted data execute specialized report functions –gradspec –getdata

Writing a J ustdoit All JUSTDOIT’s that change the output order, eliminate duplicates or filter begin the same: justdoit(‘select *,0 as marker from (cursor5) And continue with Order, Group, or Where

Writing a J ustdoit Where States a conditional clause that data must meet to be included in the report (e.g. where due-paid > 0.00) Group by Groups data in the cursor by the field you specify, then removes all but one record for each group Order by Changes the sort order of data in the cursor Into cursor (cursor?)Tells the system to place the data back into the cursor once it has finished executing all the select statements, And finishes with...

Justdoit Examples Change the Sort Order of Report with "Order By" Statement justdoit(‘select *,0 as marker from (cursor5) order by nmname3,nmname1 into cursor(cursor5)’) Eliminating Duplicate records with the "Group By" Statement JUSTDOIT(‘select *,0 as marker from (cursor5) group by nmid,nmname3 into cursor(cursor5)’) Filter the report with "Where" Statement JUSTDOIT(‘select *,0 as marker from (cursor5) where due-paid>0.00 into cursor(cursor5)’)

Justdoit The JUSTDOIT expression box may be placed anywhere on the report template but we recommend placing it in the header band of the report. It's a non-printing element and will not display on the report itself.

Adding a field with a JUSTDOIT Add a field to the Cursor and then Sort by it JUSTDOIT(‘select *,addcrse(cocrse,"cobegdate") as date, 0 as marker from (cursor5) order by date into cursor(cursor5)’) Use the ADDCRSE function & add “as date” which identifies the new field for the cursor and continue with the justdoit

Additional Help A plethora of additional information on all functions is available in the online help or... Call your tech!

Questions???

Our next webinar... Wednesday, June 30 th 1:00 Central When we unveil the all new 7.2!