[V4MD] 1.11 Carbon bug?
Daniel Crowder
daniel at monumental-i.com
Sun Sep 26 13:23:07 CDT 2004
Ruslan,
I don't understand. I'm not using a server at all.
If I want to update all records of a query in v4md using a local
database I would use:
set dbCursor = new( xtra "VCursor", GetRef(p_DB.db),query,#serverSide,
#ReadWrite)
I may be making a fundamental mistake in how I am creating a cursor. In
order to use the update all records command in director with a
client-side database what parameters does the cursor need?
On Sep 26, 2004, at 1:09 PM, Ruslan Zasukhin wrote:
> On 9/26/04 8:02 PM, "Daniel Crowder" <daniel at monumental-i.com> wrote:
>
>> Ruslan,
>>
>> It must be the UpdateAll in V4MD. Also, it is in read/write mode - if
>> it wasnt why would it still work in 1.10?
>>
>> Here is the actual code to generate the cursor:
>> set query = "SELECT *, RecID FROM categories WHERE
>> RecID="&p_DB.obj_editor.active_cat_id
>> set dbCursor = new( xtra "VCursor", GetRef(p_DB.db),query,1,3)
>
> Mistake
>
> I always did recommend to use symbolic names for constants.
>
> 1 3
>
> clientSide, ReadWrite
>
>
> Client side cursor can be only ReadOnly/
>
> You need server side
>
>
> --
> 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
> -------------------------------------------------------------
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>
More information about the Valentina
mailing list