O$: Strange Printing Error

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


Christine

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

Dean

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.

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

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
250-352-9495
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