Dear VO community!
Working with: Vo 2.773 / RP 2.13
Few of our customers have re****ted a problem with printing do***ents based
on .RPT files where sometimes all variables on a re****t show "** Error **"
instead of the intended value.
In the .RPT files the variables are defined as follows (e.g. a string
variable):
Name: cKundenNr
Initial value: ""
Reset level: Re****t
Expression: cKundenNr
In our app the re****t is called with the following scheme which works (or
used to work) for flawlessly:
oRe****t := RpRe****t{Owner, Re****tFile, Path, Swaparray)
IF oRe****t:Connect2Source()
// Many variables ...
oRe****t:SetVariableValue(Varname, VarValue)
oRe****t:PrinterDevice:SetPrinterTo(Printer, Driver, ****t)
oRe****t:Print()
ENDIF
oRe****t:Close()
The funny thing is that all dbf field values are printed fine.
As far as I was told - I actually never saw myself - this does happen very
randomly; the
same re****t is being printed fine for 9 times and then it may happen. In
such a case a
"very long period" (> 30 secs) may elapse somewhere between
RpRe****t:Init()
and showing
the actual "Do***ent is being printed" window. So far I was told that this
only happens when
actually printing a do***ent, not on the print preview but this statement
may be wrong.
Environment: XP prof. clients, W2003 servers (so far no terminal servers)
So far we have tried to check for printer driver or viruses scanner issues
but up to now
we could not find a solution. Does anyone have a hint for me?
TIA & sorry for having not more details
Bernhard


|