Re: OO4O Bug

From: Thomas T. Koshy <tkoshy_at_ix.netcom.com>
Date: 1997/05/06
Message-ID: <5kn57d$fvs_at_dfw-ixnews4.ix.netcom.com>#1/1


This is a bug in Oracle objects for ole. workaround is to move to the end of the data set, then move to the beginning of the data set and then use the recordcount

e.g if Dys is the dynaset then

Dys.DbMoveLast
Dys.DbMoveFirst
Counter= Dys.Recordcount

For i = 1 to Counter

        ' ' Do your calculations here Next

Tom
 Daniel Balmer wrote in article <33679638.5F87_at_elca.ch>...
>Hi everybody!
>
>I'm using OO4O 1.0 under Windows 3.1 to access an Oracle 7.3 database
>running on an Unix Workstation.
>
>The following problem appears with the use of dynasets :
>
>When creating a dynaset and moving across it with the MoveNext method,
>the last element appears two times when the number of elements is a
>multiple of 20!
>
>So my questions are:
> - Has anybody already encountered this kind of problems?
> - Is it a problem coming only with my version of OO4O?
> - Is it due to the congiguration parameters of OO4O (ORAOLE.INI)?
> - Any other ideas to resolve the problem?
>
>Thanks a lot for any hint!
>
>Daniel.
>
>--
> -----------------------------------------------------------------------
> Daniel Balmer
> ELCA Informatique SA Phone : (+41 21) 613 21 11
> Avenue de la Harpe 22-24 Fax : (+41 21) 613 21 00
> CH - 1000 Lausanne 13 E-Mail : Daniel.Balmer_at_elca.ch
> -----------------------------------------------------------------------
>
Received on Tue May 06 1997 - 00:00:00 CEST

Original text of this message