Record Format Line Data
The record formatting function allows an application to specify a format identifier (record id) with each set of data fields (data record). The format identifier references a specific layout format in a Page Definition (PAGEDEF). At print time, each layout format (referenced by a record ID in a data record) is retrieved from the PAGEDEF and used to position and format the associated data records/fields on the output page. The PAGEDEF can contain any number of layout formats. The application can use a PAGEDEF layout format to either insert an end of page when a specified last line point is exceeded on the output page or to force an end of page. Refer to Using Page Definition Commands for Record Format Line Data and XML Data on using record format line data.
Example of Record Format Line Data
statmid Justin Case 123 Sligo Lane Longmont CO 80501 ckheader ckdata 352 01/04/07 $ 321.50 Blind Squirrel Golf ckdata 353 01/05/07 $ 100.00 Janie's Pancake Spot ckdata 354 01/10/07 $ 122.30 History Bookstore ckdata 355 01/11/07 $ 59.95 Kristina's Pretty Things ckdata 356 01/15/07 $ 852.33 Pirie Racing Enterprises ckdata 357 01/30/07 $ 500.35 Skippy's Music Center Ckend