delivered with the power of the internet using reportsmith to create interface files charles cook...
TRANSCRIPT
Delivered with the Power of the Internet
Using ReportSmith To Create Interface FilesUsing ReportSmith To Create Interface Files
Charles CookSpecializing in ReportSmith
Training and Consulting00 March 2000
2
Delivered with the Power of the Internet
Presented By
Charles Cook Specializing in ReportSmith Training and Consulting CharlesCook.com [email protected]
3
Delivered with the Power of the Internet
Creating Interface Files
Overview Save As Fixed Format Files Using Summary Fields Header/Footer Records ReportSmith 3.1
4
Delivered with the Power of the Internet
Save As
What is saved Only data in the detail section of your report is saved Column headings are always saved Headers and Footers are not saved
Crosstabs in headers and/or footers are not saved Summary fields in headers and/or footers are not saved
5
Delivered with the Power of the Internet
Save As
Data Types Report Files (.rpt)
This will save the attributes of your report not the report data
Report Query Files (.rqf) Excel Files (.xls) Text Files (.txt)
Tab Delimited
Lotus 123 Files (.wk3) Comma Delimited Files (.csv) Data Interchange Format Files (.dif) Quattro Files (.wkq)
6
Delivered with the Power of the Internet
The Data in ReportSmith
7
Delivered with the Power of the Internet
Save As Excel Files
8
Delivered with the Power of the Internet
Save As Text Files (In Notepad)
9
Delivered with the Power of the Internet
Save As Text Files (In Excel)
10
Delivered with the Power of the Internet
Save As Comma Delimited Files
11
Delivered with the Power of the Internet
Fixed Format Files
Overview Format the data using a SQL derived field Save the data using Save As
12
Delivered with the Power of the Internet
Fixed Format Files
Formatting the data Create one SQL Derived Field Convert the data to a string if necessary
Conversion function will format the data
Pad the data with leading or trailing spaces or zeros Trim the field to size Concatenate the field to the next field
13
Delivered with the Power of the Internet
Formatting the data
14
Delivered with the Power of the Internet
The Data in ReportSmith
15
Delivered with the Power of the Internet
Fixed Format Files
Save the data Save As Text Files
16
Delivered with the Power of the Internet
Save As Text Files
17
Delivered with the Power of the Internet
Using Summary Fields
Overview Group the data and create summary fields Create a macro to write the data to a file
The data can be delimited or fixed format
Link the macro
18
Delivered with the Power of the Internet
Group the data
19
Delivered with the Power of the Internet
Using Summary Fields
Create a macro Loop through each record in the report Write one record for each group
Write the summary fields not the data fields The summary fields are for the report group
Tell the user the file has been created
20
Delivered with the Power of the Internet
Create a macro
21
Delivered with the Power of the Internet
Link the macro
22
Delivered with the Power of the Internet
Using Summary Fields
23
Delivered with the Power of the Internet
Using Summary Fields
24
Delivered with the Power of the Internet
Header/Footer Records
Overview Added to the macro Header records are written before the loop Footer records a written after the loop Write the summary fields not the data fields
Summary fields are for entire report group
25
Delivered with the Power of the Internet
Header/Footer Records
26
Delivered with the Power of the Internet
Header/Footer Records
27
Delivered with the Power of the Internet
ReportSmith 3.1
Overview Saving formatted data Printing to HTML
28
Delivered with the Power of the Internet
Presented By
Charles Cook Specializing in ReportSmith Training and Consulting CharlesCook.com [email protected]