About Us Products Solutions Services Contact Us
Please...
Register Here!
Login Area Superbase Europe Newsgroups

Home
Sitemap

Technical Support
Services


Professional
Services


Academic and
Educational
Services


Publishing
Services


Marketing
Services


Free Download
Services


Training Services

 

 


Services -> Superbase Technical Support Services

What was New in Superbase 3.2

Previous
Next

Superbase.Printer.FormPrintClose

Superbase.Printer.FormPrintClose now has new option: 3=Don't Close.

The way the option has been implemented, it only works for printing forms and if anything is printed using the ? operator while in this mode, it will probably trash some of your output (it may not, but this operation is not supported here). Typical technique might be:

oldmode% = Superbase.Printer.FormPrintClose

REM "Don't close", NEW OPTION!!

Superbase.Printer.FormPrintClose = 3'

OPEN FORM "MYFORM"

SELECT FORM KEY a$

PRINT CURRENT PAGE

OPEN FORM "MYFORM2"

SELECT FORM KEY a$

PRINT CURRENT PAGE

OPEN FORM "MYFORM3"

SELECT FORM KEY a$

PRINT CURRENT PAGE

DISPLAY ;' Closes the printer

Superbase.Printer.FormPrintClose = oldmode%' resets the mode

This mode should be used like an interrupt handler. It should only be active when you plan to make use of it immediately and it should be switched to something else again when you are done.


Copyright © 2003 Superbase Developers plc, Cambridge, UK. All rights reserved worldwide.
   Legal Notice  Questions or comments? Contact webmaster@superbase.co.uk