Converting ARev Report to OIPI (OpenInsight 32-Bit)
At 17 FEB 2005 05:50:39PM David Nicol wrote:
I am trying to convert an RBASIC program that creates a report in Revelation to run in OI using OIPI. I have changed all the PRINT statements to x=Set_Printer("TEXT",PrintLine) and after some difficulty in switching from a Perform "Select …" to SELECT BY, the process seemst to run for an expected period of time, but no output.
Am I able to do this or is there a better way to create OIPI reports?
I am looking for the easiest way to get some of the AREV reports converted to OI.
Dave
At 17 FEB 2005 06:38PM Matthew Crozier wrote:
Hi Dave,
Does your program call Set_Printer( 'INIT', …) to set up OIPI for the report? If not then check out the OIPI examples in the online help. Reporting with OIPI is quite different to how it was in ARev.
Hope this helps, M@
[img]http://www.vernonsystems.com/images/logo_main.gif[/img]
At 18 FEB 2005 01:18AM Ray Chan wrote:
I am looking for the easiest way to get some of the AREV reports converted to OI.
If you're looking for the "easiest", Tony Splaver has a utility call Direct Print that will allow you to control the printer just like in AREV. Very reasonably price.
Here's his URL: http://www.pacifier.com/~splaver/print.html
Hope this helps. Good luck on your conversion. You will find some very helpful developers on this forum.
Ray Chan
At 18 FEB 2005 04:15AM Donald Bakke wrote:
David,
As Ray mentioned, the easiest way is to use the Direct Print add-on module. It allows you to preserve your existing AREV print logic.
Whether you use Direct Print or the OIPI, you still will have to deal with your Perform "SELECT…" issue. The best way to replace this command is to use the RLIST subroutine to execute your select statement and save it as an active select. Look this up in the Programmer's Reference Guide.
dbakke@srpcs.com
At 18 FEB 2005 06:13AM The Sprezzatura Group wrote:
Is the INIT command returning an error?
Do you have a default printer defined in windows?
The Sprezzatura Group
World Leaders in all things RevSoft
At 18 FEB 2005 07:59AM Bob Orsini wrote:
David, I have converted over 100 of these programs and they are not that difficult depending on the program. The 2 key issues are your init command before printing and the term command at the end. These 2 commands replace the printer on and printer off.