Thanks John

 

  _____  

From: [email protected] [mailto:[email protected]] On Behalf Of John Minyo
II
Sent: Thursday, October 08, 2009 1:57 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: 7.5 to 8.0 Conversion Issue #1

 

At 03:28 PM 10/8/2009, you wrote:



We have just converted five applications from 7.5 to the latest (10.01)
version of 8.0.
 
We noticed the following issue and were wondering if anyone has noticed
this.
 
Report Conversion - We have forms in different applications (databases)
which have a Print button that prints 3 reports when an order is finished
being entered. The first report has an on before generate eep which makes
certain text fields visible or invisible on the report. So the button eep
says this;
Print Report1 where etc
Print Report2 where etc
Print Report3 where etc.
Return
 
The On before generate eep in Report1 says this;
 
if vthis='4' or vthat= '5' the
  property CompID visible 'true' 
else
  property CompID visible 'false' 
endi
ret
 
In 7.5 these reports print just fine. In Report1 there is an on before
generate eep which was entered in the 7.5 report designer by clicking;
Report/Actions/Before Generate.
 
This database (and others) was then converted over to the latest version of
8.0(10.01) .
 
When we ran the above report in 8.0 (using Runtime) only Report1 printed and
totally bypassed printing Report2 and Report3.
 
In order to correct this situation we had to change where the before
generate eep was located on report1. 
 
We  modified Report1 by moving the On Before Generate eep (which was entered
as described above) using this method;
Right click on the Page Header section, click Before Generate Custom Eep and
re-entered the eep there. We than re-ran the application and all 3 reports
printed as expected.
 
This is quite embarrassing as these reports are generated in front of our
customers.
 
My question is this; If this report printing routine worked perfectly in
7.5, why wouldn't it print the same way in 8.0 ? This begs another question
- Are there any other issues that we have to look for which would cause the
application to not function as it did in 7.5 ?
 


Hello Bill,

This issue you're experiencing is specific to a change made in the R:BASE
Reports Generator package in the 2nd Quarter of 2008. 

>From that moment on, the "Before Generate" Report Actions are only to be
used for creating temporary tables or for declaring variables. Any PROPERTY
commands used to alter the display of report objects must be placed on the
Report Bands.

As you have already moved your code to the Report Band, you see your
expected results can be attained.

This logic change was detailed in the "What's New in R:BASE Turbo V-8" PDF
documentation for that specific released build of R:BASE Turbo V-8. Please
be sure to review the various documents in order to avoid such surprises in
the future.

Very best,

John

Reply via email to