All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ======================================
If a program crashes with a line which contains the assignment operator (^), the two likely causes are (A) Symbol table overflow (more than 1K used for the names of local variables and data in local variables) - a Magic issue only (B) A variable or slash value which exceeds 255 characters - crashes both C/S and Magic programs If your report is landscape and contains a lot of bolding/italics/font changes etc, MT could be imbeding enough print commands into the line it tries to build for sending to the printer so that your line exceeds 255 (length of /R.OUT is over 255) When you print to VIEW, the attributes for bolding etc are stored differently and are not included in the line of output. When you print direct to a printer, the attributes are imbedded, the lines get longer, and you can build a 200 character line with enough formatting to crash the report. Just a guess, but see if taking print attributes off of some of the fields ends the crashing. Joe Cocuzzo Vice President NPR Services Iatric Systems, Inc. Phone/Fax: (978) 805-4115 Email: [EMAIL PROTECTED] Web: www.iatric.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shirley Schoberg Sent: Thursday, May 04, 2006 6:30 PM To: Meditech-L Subject: [MEDITECH-L] Report crashes to printer but not to VIEW All messages should be posted in plain text. HTML will be converted to attachments. The meditech-l web site is MTUsers.com ====================================== I have several reports which crash when printed to a printer, but when run to VIEW they do not. In the latest report I got the error: Line: IF{/R.NO.BN.FF'="F"'="N";%[/R.TRANS]'=% %[/R.TRANS](0);/R.OUT^!}, Meditech says it could be a symbol table overflow. I changed all the variables to slash variables and still the error happens. Are there other things that cause a symbol table overflow? Can anyone interpret what this error line means? Shirley Schoberg Programmer/Analyst Samaritan Health Services Albany, OR _______________________________________________ meditech-l mailing list [email protected] http://mtusers.com/mailman/listinfo/meditech-l _______________________________________________ meditech-l mailing list [email protected] http://mtusers.com/mailman/listinfo/meditech-l
