Reports and printing: the hub

Looking for the old newsgroup answers? They are here. This Knowledge Base is where the SoftVelocity NNTP newsgroups went. Twenty-five years of threads from discuss.softvelocity.com are being read thread by thread and the useful answers written up as entries: the question as a symptom, the answer the thread reached, who answered and when, and a note on whether it still holds today. Nothing is invented; every entry cites its threads.

Better than the newsgroups ever were. On the server you had to know which group to open and scroll a flat list of subjects; the answer was five posts down a thread, under three quoted copies of the question. Here every entry is one page with the answer at the top, full-text searchable from the search box on any forum page, tagged by area and by status, and open to edit. Search engines index it, so the next person with your error text finds it from Google too.

This hub covers reports and printing. Its entries come from the softvelocity.clarion.reports group and from the report questions asked in the version groups, Clarion 5.5 to Clarion 12: the REPORT structure and its bands, the data a report walks, the previewer, printers and paper, PDF and other exports, report code and the report templates, grouped under nine headings. This area is the youngest of the four and grows batch by batch. How an entry is built and what its status tag means: "How to read a Knowledge Base entry". Tell us what works and what does not in "Feedback on the Knowledge Base".

This page indexes the FAQ entries distilled from the reports newsgroup and from the report questions users posted in the general Clarion version groups: the REPORT structure and its bands, the data a report walks, the previewer, the printer and the paper, PDF and other exports, and the report-side template prompts and embeds. Every entry names the symptom as a user would search for it, gives the answer or answers the thread reached, says which Clarion versions the thread named, and ends with a note on whether the answer is likely to hold today. Each entry carries ONE status: Verified (re-tested on a current build), Unverified (a historical answer, published as found), "Reported, not reproduced" (the thread reached no confirmed answer) or Superseded. Nothing here is a SoftVelocity confirmation of a defect; the status vocabulary is explained in "How to read a Knowledge Base entry".

Three things the group teaches before any single entry. First, a report is a window that prints: SETTARGET, PROP:Text and the control equates work the same way, and the band that is printing decides what a change reaches. Second, most "it prints wrong" questions are data-order questions: the view's filter, range and sort, and the break fields, settle what lands in the detail before any layout change can help. Third, the previewer holds page images (WMF files) and the printer gets the metafile only on print, so the previewer and the printer can disagree, and the printer driver is a suspect of its own.

The entries are grouped by the part of the report they touch. The headings are fixed; a new entry goes under one of them.

Page layout, bands and breaks

Report data: filters, ranges, totals and child records

Preview and page images

Printers, paper and the print dialog

PDF, HTML and other exports

Fonts, images, lines and colours

Report code: embeds, properties and the report classes

The Report Writer and other report designers

Report templates, wizards and conversion

Official documentation

  • The Language Reference for the REPORT structure, its bands and attributes, and the report properties.
  • The Programmer's Guide and the template help for the Report template, its prompts and embed points.