From: Robert van der Hulst on
Hi Pedro,
On Tue, 18 Nov 2008, at 11:51:09 [GMT -0800 (PST)] (which was 20:51 where I live)
you wrote about: 'Having problems with ReportPro after upgrading VO2.8 to SP2'

> The only additional information I have is that I'm using ReportPro
> 2.14d and exactly the same code worked without problems before. I have
> a demo app you can see in
> http://www.ogali.com.mx/NutriKcal/NutrikcalSAPrueba.exe
> (7MB)
> One other thing is that if I add a picture (by example 9,999.99) using
> 2.14d I get the error msg "An undeterminable error was encountered
> while moving to the first logical record", but if I added the same
> picture to the same field using Rpro 2.11 it works fine. I can then
> open it in 2.14d and it works without a problem.


Do you really think I would download an app of that size and debug it
without source code?

I am sorry, but you will have to come with a small sample..

--
Robert van der Hulst
AKA Mr. Data
Vo2Jet & Vo2Ado Support
VO & Vulcan.NET Development Team
www.heliks.nl

From: frinchis on
On 19 nov, 20:11, "Pedro M. Espinosa" <pmespin...(a)gmail.com> wrote:
> On Nov 19, 12:45 pm, frinc...(a)gmail.com wrote:
>
> Carlos:
> Are you talking about the picture problem or the non printing problem?

I am talking about the "An undeterminable error was encountered while
moving to the first logical record" message. I have seen it
frequently after changing something in the designer and trying to
preview the report afterwards. Exit and reenter the designer is the
workaround for me.

Carlos Vazquez
From: Pedro M. Espinosa on
On Nov 20, 1:30 am, Robert van der Hulst <E-55525A53-325...(a)heliks.nl>
wrote:
> Hi Pedro,
>  On Tue, 18 Nov 2008, at 11:51:09 [GMT -0800 (PST)] (which was 20:51 where I live)
> you wrote about: 'Having problems with ReportPro after upgrading VO2.8 to SP2'
>
> > The only additional information I have is that I'm using ReportPro
> > 2.14d and exactly the same code worked without problems before. I have
> > a demo app you can see in
> >http://www.ogali.com.mx/NutriKcal/NutrikcalSAPrueba.exe
> > (7MB)
> > One other thing is that if I add a picture (by example 9,999.99) using
> > 2.14d I get the error msg "An undeterminable error was encountered
> > while moving to the first logical record", but if I added the same
> > picture to the same field using Rpro 2.11 it works fine. I can then
> > open it in 2.14d and it works without a problem.
>
> Do you really think I would download an app of that size and debug it
> without source code?
>
> I am sorry, but you will have to come with a small sample..
>
> --
> Robert van der Hulst
> AKA Mr. Data
> Vo2Jet & Vo2Ado Support
> VO & Vulcan.NET Development Teamwww.heliks.nl

Hi Robert:
I didn't expect for you to debug the app, just to see the reports
running, and maybe give'em a look within ReportPro.

The solution was really simple.
I was using "." as cDataPath in the init method to tell RPro to use
the current directory as the datapath, i.e.
oReport := RpReport{ self, cReporte,[.],aDbfSwap }
and by replacing it with a null string it worked fine, i.e.
oReport := RpReport2{ self, cReporte,[],aDbfSwap }

What I don't understand is why this happens. I've been coding the Rpro
init method with [.] since 2.0 and didn't have any problems before.
Do you have any explanation to this?
Thanks again
Pedro
From: Pedro M. Espinosa on
On Nov 20, 9:44 am, frinc...(a)gmail.com wrote:
> On 19 nov, 20:11, "Pedro M. Espinosa" <pmespin...(a)gmail.com> wrote:
>
> > On Nov 19, 12:45 pm, frinc...(a)gmail.com wrote:
>
> > Carlos:
> > Are you talking about the picture problem or the non printing problem?
>
> I am talking about the "An undeterminable error was encountered while
> moving to the first logical record" message.  I have seen it
> frequently after changing something in the designer and trying to
> preview the report afterwards.  Exit and reenter the designer is the
> workaround for me.
>
> Carlos Vazquez

Carlos:
Thanks for the suggestion.
My decision was to use RP2.11 instead.
Do you have any idea where could we report this error?
Best Regards
Pedro
From: Pedro M. Espinosa on
On Nov 20, 9:08 pm, "Pedro M. Espinosa" <pmespin...(a)gmail.com> wrote:
> On Nov 20, 1:30 am, Robert van der Hulst <E-55525A53-325...(a)heliks.nl>
> wrote:
>
>
>
>
>
> > Hi Pedro,
> >  On Tue, 18 Nov 2008, at 11:51:09 [GMT -0800 (PST)] (which was 20:51 where I live)
> > you wrote about: 'Having problems with ReportPro after upgrading VO2.8 to SP2'
>
> > > The only additional information I have is that I'm using ReportPro
> > > 2.14d and exactly the same code worked without problems before. I have
> > > a demo app you can see in
> > >http://www.ogali.com.mx/NutriKcal/NutrikcalSAPrueba.exe
> > > (7MB)
> > > One other thing is that if I add a picture (by example 9,999.99) using
> > > 2.14d I get the error msg "An undeterminable error was encountered
> > > while moving to the first logical record", but if I added the same
> > > picture to the same field using Rpro 2.11 it works fine. I can then
> > > open it in 2.14d and it works without a problem.
>
> > Do you really think I would download an app of that size and debug it
> > without source code?
>
> > I am sorry, but you will have to come with a small sample..
>
> > --
> > Robert van der Hulst
> > AKA Mr. Data
> > Vo2Jet & Vo2Ado Support
> > VO & Vulcan.NET Development Teamwww.heliks.nl
>
> Hi Robert:
> I didn't expect for you to debug the app, just to see the reports
> running, and maybe give'em a look within ReportPro.
>
> The solution was really simple.
> I was using "." as cDataPath in the init method to tell RPro to use
> the current directory as the datapath, i.e.
>       oReport := RpReport{ self, cReporte,[.],aDbfSwap }
> and by replacing it with a null string it worked fine, i.e.
>       oReport := RpReport2{ self, cReporte,[],aDbfSwap }
>
> What I don't understand is why this happens. I've been coding the Rpro
> init method with [.] since 2.0 and didn't have any problems before.
> Do you have any explanation to this?
> Thanks again
> Pedro- Hide quoted text -
>
> - Show quoted text -

By the way,
I use RpReport2 class inherited from RpReport because of a problem it
had with PrintPreview
method, that was solved with:
METHOD PrintPreview( cJobName, cPrint2File, cCaption, cMessage,
lModal, nShowState, lZoomed, symPPWindow ) CLASS RpReport2
SUPER:PrintPreview( cJobName, cPrint2File, cCaption, cMessage,
lModal, nShowState, lZoomed, symPPWindow )
DirChange( String2Psz( GetDefault() ) )
RETURN NIL

Just for you to know
Pedro