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
- In the report properties dialog, change Data Source from File to Queue.
- The template still wants a file. Give it any file; it is not used for anything and the report runs on the queue.
- Fill the queue before the report runs. One poster fills his queues from SQL views.
- 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, callACCESS:afile.Previousin TakeRecord so the report re-reads the same record, and set the return value toLEVEL:Notifyin.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.