segmentation violation, bar code printing

GCC Consulting gccconsulting at comcast.net
Thu Apr 12 14:44:12 PDT 2007


 



________________________________

	From:
filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com
[mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com]
On Behalf Of Frank Parker
	Sent: Thursday, April 12, 2007 3:28 PM
	To: filepro-list at lists.celestial.com
	Subject: segmentation violation, bar code printing 
	
	
	<!--[if !supportEmptyParas]--><!--[endif]--> 
	Hi,
	<!--[if !supportEmptyParas]--> 
	I've recently been given the responsibility of maintaining our
filePro data base and have a few questions I hope the members of this list
can help me with.  
	<!--[if !supportEmptyParas]--> 
	Some background: SCO OSR 5.0.6  fp 5.0.09.  The filePro programs
have been in use for over 20 years, being added to and modified by several
people over the years.   Many years ago I programmed in fortran and cobol
but have been away from it quite a while.
	<!--[if !supportEmptyParas]--> 
	The problem- We print a form from a record and when attempting to
update the record after the form has printed, we get kicked out with a
segmentation violation.  The processing that runs with the form updates
several files as well as the file it's run from.  This happens 95% of the
time. Occasionally it will not create an error.  I know that permissions can
cause this to happen and I have checked for that. I have also rebuilt all
indexes in all affected files and that didn't solve the problem. The
processing table is what we used to call 'spaghetti programming' so I won't
inflict it on the list.   If I knew what other situations cause the
segmentation violation I might have a better idea where to look.  
	Second problem- We print a form with a barcode on a Lexmark 2380,
works fine but I would rather do it on a laser printer.  We have an HP4000n
with the barcode font rom.  Printing the font list gives me the following
escape sequence for code 3 of 9:   <esc>(0Y<esc>(s0p4.69h12.0v0s0b0T 
	I created a print code with this sequence substituting $1b for the
<esc>'s and inserted this into the form just before the variable that
contains the data (10 digit number) to be printed as a barcode.  Doesn't
work, obviously.  What am I missing?   To anticipate one answer, there is no
budget for outside help. :)
	<!--[if !supportEmptyParas]--><!--[endif]--> 
	One additional question: is it possible to create a multidimensional
array in filePro?  No immediate application, just curious.
	Thanks for your time,
	Frank
	
	
Frank,

My first suggestion would be to upgrade to the latest maintenance release of
filePro 5.0.14; or is it 5.0.15.

Multidimensional are not available although they are a wish list item.  

Barcode printing - Jim Asman may be able to help you with this problem.  Try
the filepro Chatroom  http://www.valar.com/fp_room/fp_room.htm.

Richard Kreiss
GCC Consulting
 




More information about the Filepro-list mailing list