O$: Strange Printing Error

Dean Curtis dcurtis at mophilly.com
Wed Jan 20 18:03:15 EST 2010


does your report have a $mainfile set ? Look in property mgr at the  
that would cause this error.


On Jan 20, 2010, at 2:03 PM, Christine Penner wrote:

This error makes no sense to me.

I'm printing a report using this code.

Do code method CPRINT/PrepareForPrint ;;this asks for print destination
Print report (Ask for job setup) {(List,address)} ;; passes local  

The Print report call gets this error: "Update or Delete command  
without a Read/Write file"

The really strange thing is that the code used is all SQL, no dml code  
(I checked really carefully). I tried removing the parameters. I tried  
removing the prepare for print call and I get the same error. I have  
lots of other code that does the exact same thing and always works  
fine. Any suggestions?

Christine Penner
Ingenious Software
christine at ingenioussoftware.com
Manage your list subscriptions at http://lists.omnis-dev.com

Dean Curtis
Senior Application Engineer
Direct phone: (469) 287-2701

On the web at www.mophilly.com
On the phone at (619) 444-9210

More information about the omnisdev-en mailing list