segmentation violation, bar code printing
Frank Parker
fpmlist at yahoo.com
Thu Apr 12 12:28:02 PDT 2007
Hi,
Ive 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.
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.
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 its 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 didnt solve the problem. The processing table is what we used to call spaghetti programming so I wont 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. Doesnt work, obviously. What am I missing? To anticipate one answer, there is no budget for outside help. :)
One additional question: is it possible to create a multidimensional array in filePro? No immediate application, just curious.
Thanks for your time,
Frank
---------------------------------
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20070412/3288771d/attachment.html
More information about the Filepro-list
mailing list