V4RB 2 examples - Records_AddDeleteUpdate

Ruslan Zasukhin sunshine at public.kherson.ua
Sun Nov 14 20:57:13 CST 2004


On 11/14/04 8:45 PM, "erne" <ernestogiannotta at tiscalinet.it> wrote:

> Hello Ruslan,
> 
> I've noticed that the Records_AddDeleteUpdate example does not work
> it has an error in code where an empty cursor is created:
> 
>    mCursor = mDatabase.SqlSelect( "SELECT * FROM T1 WHERE false")
> 
> in this read only cursor records can't be added, edited or deleted
> 
> should be:
> 
> mCursor = mDatabase.SqlSelect( "SELECT * FROM T1 WHERE false",
> EVCursorLocation.kServerSide, EVLockType.kReadWrite,
> EVCursorDirection.kRandom )
> 
> 
> I know this is an easy fix but maybe you want to update the example file

Agree Erne, thank you.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------




More information about the Valentina-beta mailing list