Larry,

Do you have in your print command any OPTIONs such as SHOW_CANCEL_DIALOG OFF?

If so, try your print without them - I have a report that causes me a problem 
with that particular option which I believe to be caused by the gross amount of 
data produced - ie the opposite of yours. It may be way off beam but it might 
be worth a try.

Regards,
Alastair.


  ----- Original Message ----- 
  From: Lawrence Lustig 
  To: RBASE-L Mailing List 
  Sent: Monday, January 19, 2009 3:48 PM
  Subject: [RBASE-L] - Re: Continuing problems with empty reports.


  <<
  It seems like just recently that doesn't work -- it instead prints a blank 
report to a PDF that is emailed out.   It creates a PDF file that cannot be 
opened.   So I had to change my code to check for data first, before the report 
prints.   Makes me worry about code I have elsewhere.   I could have sworn an 
error code used to be generated ...
  >>

  Glad to know it's not just me.  I'm currently working around this problem 
here (fortunately, most of my report printing is done by calling a single 
PRINTRPT procedure, so I have to make a limited number of changes).

  But my bigger problem is that sometimes this seems to happen even when I 
believe the report _does_ have data — and if you restart R:Base and let the 
same procedure run, it does produce data.  I'm currently working to centralize 
all my direct-to-PDF printing so I can check the file size _after_ the report 
is generated and at least avoid sending the empty files (and notify the admin, 
who can restart the system and get the correct reports).

  I'm sure this must be something I'm doing — not clearing variables, not 
closing some programming structure, or something.  But no errors are generated, 
and after you start R:Base it seems to be a very random period of time and set 
of operations before the problem is seen.  Sometimes right away, sometimes not 
at all, sometimes after a few hours. . .
  --
  Larry




------------------------------------------------------------------------------



  No virus found in this incoming message.
  Checked by AVG - http://www.avg.com 
  Version: 8.0.176 / Virus Database: 270.10.9/1900 - Release Date: 18/01/2009 
12:11

Reply via email to