Page 1 of 1

BUG Report - Less than graceful exit from MsgBox

Posted: Wed Jan 03, 2007 7:28 pm
by brucef2112
Dale,
I found this problem when trying to print records.
Seems if you select fields that have a length greater than the printer setup,
POS reports this via a msgbox.
However after hitting the anykey the program dies with an error - a RETURN without a GOSUB in module STOCK3.

I've tried it in versions 6.37g and 6.39g
The error is consistent with every attempt.

Follow along...

From File Maintenance goto the Stock Table.
Hit F5(move/export) > 1.Continue > [Enter]
1.(Select/Unselect lines)
Now select some records in the stock table > [Esc]
7.(Export Lines) > 2.(All Selected lines) > [Enter]
Use spacebar to select some fields - Stock#, Description, RegPrice, Vendor Stock#.

F8(Begin Export) > 1.(Printer) > [Enter]

My printer is setup for <40> chars wide and the above fields are longer
than this so the program tells me I'm stupid for trying this via the following msg.

"Length of printed lines<64> longer than printer width setting <40>"
"Press Any Key"

After realizing my stupidity I then hit the AnyKey and then get the following
error message.

"RETURN without GOSUB in line 56 of module STOCK3 at Address 20DA:433B"
"Hit Any Key to Return To System"

Program dies...

Thanks,
bruce