Format(Date(),"mmdd"),1,0)  INT(([DateOfReport]-[DOB])/365.25)"> Format(Date(),"mmdd"),1,0)  INT(([DateOfReport]-[DOB])/365.25)">

Presentation is loading. Please wait.

Presentation is loading. Please wait.

Creating queries and reports for list items.  Sample Data CDCR Data Download  Relational Database Primary Key Child Key Lookup table.

Similar presentations


Presentation on theme: "Creating queries and reports for list items.  Sample Data CDCR Data Download  Relational Database Primary Key Child Key Lookup table."— Presentation transcript:

1 Creating queries and reports for list items

2  Sample Data CDCR Data Download  Relational Database Primary Key Child Key Lookup table

3

4

5

6

7

8  Concatenate  [LNAME] & ", " & [FNAME] & " " & [MNAME]  "C:\Photos\" & [PAROLEE].[CDCNUM] & ".jpg"  Built-in and custom formulas Date conversions  WeekdayName(Weekday([LASTCHANGEDATE]))  MonthName(Month([LASTCHANGEDATE]))  Year([LASTCHANGEDATE]) Age calculations  DateDiff("yyyy",[DOB],Date())-IIf(Format([DOB],"mmdd")>Format(Date(),"mmdd"),1,0)  INT(([DateOfReport]-[DOB])/365.25)

9  Concatenate  [LNAME] & ", " & [FNAME] & " " & [MNAME]  "C:\Photos\" & [PAROLEE].[CDCNUM] & ".jpg"  Built-in and custom formulas Date conversions  WeekdayName(Weekday([LASTCHANGEDATE]))  MonthName(Month([LASTCHANGEDATE]))  Year([LASTCHANGEDATE]) Age calculations  DateDiff("yyyy",[DOB],Date())-IIf(Format([DOB],"mmdd")>Format(Date(),"mmdd"),1,0)  INT(([DateOfReport]-[DOB])/365.25)

10

11

12  Conditional formatting Highlight specific records  Sub-Reports One-to-many relationships  Examples: SMT, Vehicles, Addresses, Conditions Can grow/shrink

13  Back to SQL statements Left([RACE],1) IIf([AGE]>=18,'A','J') Left([HEIGHT],1) & "'" & Mid([HEIGHT],2,2) & Chr(34)  Other Functions StrConv([LNAME] & ", " & [FNAME] & " " & [MNAME],3)

14  Best practices for photo storage and database management One photo per record  Multiple photos per person require a related table Thumbnail size version  How to add photos in MS Access 2007 and newer versions

15

16  Contact Information Matthew Harris Sonoma County Sheriff's Office Matthew.Harris@sonoma-county.org 707-565-1628 Conan Mullen Santa Rosa Police Department cmullen@srcity.org 707-543-3696


Download ppt "Creating queries and reports for list items.  Sample Data CDCR Data Download  Relational Database Primary Key Child Key Lookup table."

Similar presentations


Ads by Google