Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #12139

Re: ReportPro 2.30a keeps creating pages

From Martin <Martin@spam.spam>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: ReportPro 2.30a keeps creating pages
Date 2018-12-03 15:18 +0000
Organization A noiseless patient Spider
Message-ID <pu3hh2$n5q$1@dont-email.me> (permalink)
References <k2ha0ehmhclfii9biu9ob5u4kn5dt56c7g@4ax.com>

Show all headers | View raw


This is all I can think of. Try leaving it open and passing through as a 
server object rather than file name and such.

Server object is dbMyDBF of MyDBF.DBF

RpReport{ SELF, "rep.RPT", , {{"MyDBF", NIL,,,,dbMyDBF}} }

It is possible that a different RDD is being used in ReportPro than what 
is used to create the file. (eg ADS and DBFCDX).

We only pass in servers and seem to be OK

On 03/12/2018 15:00, D.J.W. van Kooten wrote:
> 
> I posted this message in the X# VO forum but did not yet receive a
> reaction. Maybe someone reading here has an idea?
> 
> We create a group based report where a dbf file with a CDX is freshly
> filled (zapped every time) with the data to be used. At the client
> about 1700 correct reports (PDF) were created this way. However 2
> reports, a bit longer than the average but no further conceptual
> differences with the rest, also kept counting endlessly. Then there's
> something weird. I originally could reproduce this problem by opening
> the report in ReportPro and doing a preview. When I close the report
> and open the dbf in dbMax en rebuild the index, and run the preview
> again, it completed correctly after 9 pages. While, as far as I know,
> dbMax produces the same CDX as VO does.
> 
> Now it gets a bit weirder. I was planning to make a reproducible
> example and re-entered the database (Section properties, Select child
> table) so it would point to my example directory for both samples
> instead of my work directory. And then also the original index
> produced the correct report! So I did the same trick on the work
> directory (removing and re-applying the dbf) and now I could see the
> preview without endless repeating.
> 
> Unfortunately when filling the database from the program it again
> keeps counting pages endlessly (while the preview now stops with the
> same database). I've tried or checked multiple changes in the program
> (an explicit reindex of the database in the program; the dbf is closed
> before the report is called, passing the database as aDBFSwap) but the
> current situation is: only these 2 from 1700 reports keep counting
> from my program. But they stop at the last page when using the preview
> directly from ReportPro, using the very same dbf as source.
> 
> What else can I do?
> 
> Dick
> 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

ReportPro 2.30a keeps creating pages D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2018-12-03 16:00 +0100
  Re: ReportPro 2.30a keeps creating pages Martin <Martin@spam.spam> - 2018-12-03 15:18 +0000
  Re: ReportPro 2.30a keeps creating pages Robert van der Hulst <rjvanderhulst@gmail.com> - 2018-12-03 08:58 -0800
    Re: ReportPro 2.30a keeps creating pages D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2018-12-04 13:35 +0100

csiph-web