Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook...

28
Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00 March 2000

Transcript of Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook...

Page 1: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

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

Page 2: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

2

Delivered with the Power of the Internet

Presented By

Charles Cook Specializing in ReportSmith Training and Consulting CharlesCook.com [email protected]

Page 3: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

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

Page 4: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

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

Page 5: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

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)

Page 6: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

6

Delivered with the Power of the Internet

The Data in ReportSmith

Page 7: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

7

Delivered with the Power of the Internet

Save As Excel Files

Page 8: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

8

Delivered with the Power of the Internet

Save As Text Files (In Notepad)

Page 9: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

9

Delivered with the Power of the Internet

Save As Text Files (In Excel)

Page 10: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

10

Delivered with the Power of the Internet

Save As Comma Delimited Files

Page 11: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

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

Page 12: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

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

Page 13: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

13

Delivered with the Power of the Internet

Formatting the data

Page 14: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

14

Delivered with the Power of the Internet

The Data in ReportSmith

Page 15: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

15

Delivered with the Power of the Internet

Fixed Format Files

Save the data Save As Text Files

Page 16: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

16

Delivered with the Power of the Internet

Save As Text Files

Page 17: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

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

Page 18: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

18

Delivered with the Power of the Internet

Group the data

Page 19: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

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

Page 20: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

20

Delivered with the Power of the Internet

Create a macro

Page 21: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

21

Delivered with the Power of the Internet

Link the macro

Page 22: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

22

Delivered with the Power of the Internet

Using Summary Fields

Page 23: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

23

Delivered with the Power of the Internet

Using Summary Fields

Page 24: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

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

Page 25: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

25

Delivered with the Power of the Internet

Header/Footer Records

Page 26: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

26

Delivered with the Power of the Internet

Header/Footer Records

Page 27: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

27

Delivered with the Power of the Internet

ReportSmith 3.1

Overview Saving formatted data Printing to HTML

Page 28: Delivered with the Power of the Internet Using ReportSmith To Create Interface Files Charles Cook Specializing in ReportSmith Training and Consulting 00.

28

Delivered with the Power of the Internet

Presented By

Charles Cook Specializing in ReportSmith Training and Consulting CharlesCook.com [email protected]