Printing multiple Reports Under WIndows 98SE (OpenInsight 32-Bit)
At 29 MAY 2002 02:47:42PM Hank Huizinga wrote:
We use code as outlined in the following link to print multiple reports. The problem is that using OI 4.0.2 under Win98SE/ME, only one report prints. It appears as if the callback function does not work. Under NT/2000/XP, no problems.
]
As a "temporary" work-a-round. I found that by replacing
Utility("RUNWIN", Cmd, Callback)
with
* the following is for win98/me with 32bit version of OI
* this code works on '98, beeps alot though
params = Callback
params = Callback
Call Set_Property("SYSTEM", "IDLEPROC", params)
Void=Utility('RUNWIN',ReportLine, -1)
* end of patch for windows 98/ME and 32bit version of OI
Has anybody else experienced this and is there a work-a-round.
Thanks,
Hank
At 29 MAY 2002 03:04PM Pat McNerthney wrote:
Hank,
Does it work if you do the following:* the following is for win98/me with 32bit version of OI
* this code works on '98, beeps alot though
Callback=-1
Void=Utility('RUNWIN',ReportLine, CallBack)
* end of patch for windows 98/ME and 32bit version of OI
Pat
At 29 MAY 2002 04:23PM Hank Huizinga wrote:
No it does not.
Whenever a report prints, it beeps as if an error occurred. I think this is what is causing the callback function to be ignored. I think this is why breaking the command into Idleproc and Runwin caused it to work.
At 29 MAY 2002 04:44PM Pat McNerthney wrote:
Hank,
At the time of this message beep, does anything get written to the System Monitor?Pat