Quartam Reports Sample Problem

Charles Szasz cszasz at mac.com
Thu Jan 18 12:58:44 EST 2007


I hope someone who is using Quartam Reports can answer my question. I  
trying to learn how to use Quartam Reports. In the first sample,  
after I created a Qrt page with the fields filled out as per  
instructions in the PDF manual. I made a one card stack with a print  
button and I added the following script as in the book:

on mouseUp
   local tLayoutFile,tStackName,tShowPreview
   loadLibraries
   put "mystackreport.qrl" into tLayoutFile
   put "qrsContacts" into tStackName
   put true into tShowPreview
   -- print the report
   qrtReports_PrintReportForStack tLayoutFile, tStackName, tShowPreview
end mouseUp

After I click Apply in the script editor. Then go to run mode and  
press the mouse button I get the following error message:
"An error occurred while printin the report: qrtReportsErr: no such  
stack."

What did I do wrong here and how do I correct the problem?



Charles Szasz
cszasz at mac.com






More information about the use-livecode mailing list