Printing to file and using PC software to manipulate the data has greatest application for reports created with "list some data" from a review file created with "create lists." This is an example of converting text output in paragraph format from "list some data" from "create list" review file to columns.
There are eight steps to preparing this kind of custom report. The process is illustrated by an example of producing a printed periodicals list.
- ENVISION YOUR FINAL REPORT: Decide what your final product should look like, what data should be in it, in what order, etc.
- List of periodical holdings containing title, location, holdings (in that order) printed as a table with three columns, with titles in upper case
- DESIGN THE REPORT YOU GET FROM INNOPAC. Type of report, type of record, fields included, etc. Sort the records, select fields in order you want them; choose a subset if you want.
- Use "create list" to select review file
- Select record set: all unsuppressed check-in records with selected locations
- Sort by bib record title, then check-in location
- "list some data": (bib) title; (check-in) location; (check-in) "lib has"
- CONFIGURE THE PRINT:
- Print each field on a separate line (default)
- Print one line between records (default)
- Change line 6 to display meaning instead of code (to get labels for locations in printed list)
- Leave other defaults as they are (change titles in upper case if desired)
- PRINT OUTPUT TO FILE ON PC
- Use most effective method
- MAKE CHANGES TO OUTPUT WITH A WORD PROCESSOR. The goal is:
- To insert a character to be a field delimiter between fields in a record
- To retain a hard return at the end of each record
- make page as wide as possible (not essential - easier to see what is going on but does not affect result)
- remove hard page breaks (search and replace ^m with [blank])
- remove unwanted words and characters (e.g. text in location label)
- replace record separators (2 hard returns) with temporary character, e.g. hard page break (^p^p to ^m)
- insert field separators, e.g. tab (period space ^p to ^t) (NOTE: this string may not always be so regular; if any fields end with something other than period space hard return this variation must be dealt with)
- remove remaining unwanted hard returns (^p to nothing)
- replace temporary record separator characters with hard returns (^m to ^p)
- delete "the" at the beginning of titles (^p The space to ^p)
- save as text file
RESULT: tab is the delimiter separating fields; hard return is separator between records
- CREATE COLUMNS WITH SPREADSHEET: If too many errors, analyze cause of errors and start over in word processing with revised "search and replace" strategies. If few errors, manually fix; save as spreadsheet file
- Open file with spreadsheet program as delimited TEXT file, indicating when asked which character was used as field delimiter; data will be in three columns
- Check fourth column for processing errors and decide if processing can be improved to reduce errors, or if errors should be manually fixed in spreadsheet or word-processing file
- Save as spreadsheet
- "DESKTOP PUBLISH" WITH WORD PROCESSOR." Spreadsheet file will open as a table. Format columns, fonts, borders, etc; add page numbers, headers, footers, etc.
- Open spreadsheet file
- Reselect your printer which prints to paper and set it as the default in order to get fonts and sizes available for that printer. If you do not, you will not be able to use the fonts available to your printer.
- Format table: set column widths, margins, fonts, headers, footers, etc. as specified in printed instructions YOU WROTE THE FIRST TIME YOU DID THIS (or combine into macro)
- PRINT REPORT: When satisfied with the result, send final version to printer
****************************************************************
EXAMPLE: ARCHIVING ORDER RECORDS TO FILE
(Example of creating a file of archive data which is accessible and searchable. Existence of archive allows for deletion of older order records, freeing up limited order record capacity.)
FINAL REPORT:
PURPOSE: Create searchable access to order information in records which will be deleted from the Innopac. Use "search" capabilities of word-processing to find particular records in future.
FORM: Same as print from "list some data" from "create lists," with some customization as desired, e.g. removal of page breaks, adjustments of font, margins, headers, footers, etc.
- Determine criteria to be used to identify and select order records to be deleted
- Determine which fields from order record should be part of the archived record
- Determine order in which you want records stored; order cannot be changed later, unless records are moved to a database
- "Create list" of those order records
- Evaluate list to make sure that selection criteria gave desired result
- Sort records as determined above
- "List some data": select fields as determined above
- Print to file
- Customize document as desired in word processing
- Save file in word processing and also in TEXT format, to ensure that future word-processing programs will be able to read the data
- Save files to a floppy disk and store in a safe place; make as many copies on as many disks as makes you feel comfortable that long-term access to the data will be ensured
This method is simple and is not time-consuming. If it were necessary to provide more flexible data, one could develop a strategy for using word-processing "search and replace" to insert delimiters, with the ultimate goal of importing records into a database. Although doable, this method would be a lot more work to develop. It is not clear that information needs regarding old order records would require more sophisticated capabilites than are available in word-processing.
Return to top
EXAMPLE: FINANCIAL REPORT SPREADSHEET
Example of importing numerical data into spreadsheet to be basis for additional calculations and reports.
- Statistical reports print in "fixed width" columns
- A spreadsheet program can easily import "fixed width" columns to spreadsheet columns
- You can adjust where the column breaks need to be when you are importing the text file
- Remove all dollar signs in wordprocessing, where it is easy to remove all at once. Data will import as text, not numbers, if dollar signs are not removed, and they are more difficult to remove once they are in the spreadsheet.
FINAL REPORT:
PURPOSE: spreadsheet with fund report numbers for additional calculations, e.g. forecasting, comparison with parent body report, etc.
FORM: columns
- RUN DESIRED FUND REPORT
- PRINT REPORT TO FILE
- OPEN FILE WITH WORD-PROCESSING
- "Search and replace" to remove all dollar signs
- Save as .prn or .txt file
- OPEN FILE WITH SPREADSHEET
- Text import wizard will appear; select fixed width; you can adjust where column dividers should go by clicking on scale to add or remove dividers
- If the division of columns is not satisfactory close file (do not save) and try again
- When satisfactory, save as spreadsheet file
- CUSTOMIZE TO YOUR NEEDS
- Add, subtract, or move columns and formulas as desired to enhance reporting on spending
EXAMPLE: FUND ACTIVITY REPORT
FINAL REPORT:
PURPOSE: Reduce number of pages in print of fund activity report (only useful if it is not important to have each fund on its own separate pages)
FORM: Same as print from Innopac, but smaller font, no manual page breaks
This process reduced my print to 35% of its original size (from 171 pages to 60 pages)
- Select "generic/text only" printer as default
- Run the fund activity report
- Do not key in any page heading (it would appear on every page)
- Print to "attached" printer
- When dialog box appears, name your .prn file
- To Innopac message "Was printout OK?" answer "N" (NO)
- Open Word Processing (example uses Word)
- Open saved .prn file
- Reselect the printer to print to paper in order to get available fonts
- Combine in a macro:
- Edit, Replace hard page break (^m) with nothing
- Edit, Select all
- Select font Courier or Courier New, size 8
- Add descriptive header or text at top of document to identify it
- Add page numbers
- Save file as word document
- View word document to make sure it looks OK; then send to printer
- Make sure that printed document is satisfactory
- Run fund activity report again
- Print to file, but cancel print when you get dialog box for filename
- To Innopac message "Was printout OK?" answer "Y" (YES)
- Complete the fund activity report process to clear the files
Return to top
Revised March 26, 2002