on 29/4/01 18:04, Erne at musicbox at tin DOT it wrote:
> Hello Ruslan, > > maybe I've got rid of this too! > > my guess:
> A routine selects a empty Cursor > used to perform a link setting > this Cursor has 2 objectPtr fields > that will be filled with recids of BOs to link > occasionally it holds also some other fields > the routine did these steps:
> cursor.setblank > fill objectptrs > if need to fill other fields call subroutine > ( this subroutine creates another cursor using same linker BO to get > some data and store them into first cursor passed as parameter ) > endif > cursor.add
> Maybe subroutine created corruption in index > so changed it in: > cursor.setblank > fill objectptrs > cursor.add >> ^^^^^^^^^^^ add first > if need to fill other fields > call subroutine > endif > cursor.update > > and this seems to fix the problem > > I'll keep you informed
Hi Erne,
this is good that you have found problem in your code, because I already have start to worry.
it looks that you often mix BaseObject and Cursor API. Erne, try NEVER use BaseObject API if you work with cursors. Everything van be made via cursors...Other Valentina products even don't have BaseObject API (V4MD, V4WS...)
Mixing an easy cause problems.
-- Best regards, Ruslan Zasukhin
------------------------- Paradigma.
e-mail: ruslan@paradigmasoft.com web : http://www.paradigmasoft.com
To subscribe to the Valentina mail list send a letter to valentina-on at lists DOT macserve.net
------------------------------------------------------------- The Valentina mailing list is brought to you by MacServe.net For info on lists services, see http://www.macserve.net/lists.html ©2001 Ruslan Zasukhin |