Can the report template print a report from a queue instead of a file?

Applies to: Clarion 6.3 report template; a reply describes the same idea in 5.5.

Problem

The poster asked whether the report templates in Clarion 6.3 can produce a report from a queue.

Solution

  1. In the report properties dialog, change Data Source from File to Queue.
  2. The template still wants a file. Give it any file; it is not used for anything and the report runs on the queue.
  3. Fill the queue before the report runs. One poster fills his queues from SQL views.
  4. Another poster's variant (5.5): use the report process to build the queue, then print in the .Next(ProcessRecords) embed after all records were processed. If the queue does not relate to a file, call ACCESS:afile.Previous in TakeRecord so the report re-reads the same record, and set the return value to LEVEL:Notify in .Next(ProcessRecords) when the queue is done printing.

Caveats

  • The Data Source option is the first-choice answer; the TakeRecord variant was given for older templates and was not compared with it in the thread.
  • The original poster confirmed the Data Source tip with thanks, but did not report a finished report.

Today (2026)

Likely unchanged for the ABC report template. Not re-tested.

Sources: Raul R. (May 2007, the question), Lee W., Arnor B., Paul H. (May 2007) in softvelocity.public.clarion6.