V4RB2 - Adding to cursor crash

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Feb 10 01:00:46 CST 2006


On 2/10/06 12:51 AM, "Erne" <ernestogiannotta at tiscalinet.it> wrote:

> Hello Ruslan,
> 
> I've found that if I try to use the 'recid= Cursor.AddRecord' method
> in a cursor that has an Order by clause
> the app will crash
> 
> e.g.
> 
>    SqlString = "Select Recid, * from " + mPerson.Name
>    SqlString = SqlString + " Order by " + mPerson.Field(1).Name
> 
>    c = mDatabase.Sqlselect(SqlString, EVCursorLocation.kServerSide,
> EVLockType.kNoLocks, EVCursorDirection.kRandom)
> 
>    if not (c is nil) then
>      dim x as Integer
> 
>      c.SetBlank EVValueAccess.forAdd
>      c.Field(1).SetString "0"
>      x = c.AddRecord  // CRASH!
> 
> 
> is this a known limitation or should I file a bug report on Mantis?

Hi Erne,

Actually this should work.
Ivan will follow this

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list