import text into V4RB - what am I missing?
Ruslan Zasukhin
sunshine at public.kherson.ua
Wed May 19 22:12:24 CDT 2004
On 5/19/04 9:06 PM, "Fred.Stephenson"
<Fred.Stephenson at communication-unltd.com> wrote:
>
>> dim f as FolderItem
>> dim sql as String = ""
>> dim curs as VCursor
>> dim res as Boolean
>>
>> f = GetOpenFolderItem("special/any")
>>
>> sql = "SELECT categoryid, createddate, createdby, modifieddate,
>> modifiedby, title, type, sortorder FROM categories WHERE RecID = 0"
>> curs = new VCursor(Database, sql, kV_Client, kV_ReadWrite)
>
> try using kV_server
Yes, Right!
Because CLIENT-SIDE cursor is ALWAYS read-only.
Garrett, you should know this from mySQL.
MySQL have only client-side type of cursors.
And they ARE read-only always.
Postgre have always SERVER-side cursors.
Valentina offer you both types of cursors,
But you should be careful in their usage.
--
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
mailing list