Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Clipper Visual-Objects > Rp2.13: variabl...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 11304 of 11795
Post > Topic >>

Rp2.13: variables show "** error **" instead of value

by "Bernhard Mayer" <Idonotexisthere@[EMAIL PROTECTED] > Apr 11, 2008 at 11:07 AM

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
 




 3 Posts in Topic:
Rp2.13: variables show "** error **" instead of value
"Bernhard Mayer"  2008-04-11 11:07:24 
Re: Rp2.13: variables show "** error **" instead of value
"Warren McIntyre&quo  2008-04-11 15:34:48 
Re: Rp2.13: variables show "** error **" instead of value
Camille Kater <camkate  2008-04-17 13:18:29 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 6:07:17 CST 2008.