main logo
Subject: Re: Still fighting with index issues
Author: Erne
Posted: 2001/04/29 10:04:55
 
View Entire Thread
New Search


>
>Still at large ObjectPtr issue
>Still chasing
>

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


Cool Runnings,
Erne.







-------------------------------------------------------------
The Valentina mailing list is brought to you by MacServe.net
For info on lists services, see http://www.macserve.net/lists.html
 
©2001 Erne
<-- Prior Message New Search Next Message -->