Updating all records again
Ruslan Zasukhin
sunshine at public.kherson.ua
Thu Feb 24 15:03:24 CST 2005
On 2/24/05 11:57 AM, "Roger Amar" <Roger at logram.com> wrote:
Hi Roger,
> Just now, I have a new problem : when I attempt to update all the records of a
> cursor, they are *not* updated.
>
> My handler is made like this :
>
> on UpdateAllRecords fldName, fldValue
> CheckdbRef
> CheckCursor
>
> put Valentina("Cursor_SetField",cursorRef,fldName,fldValue) into temp -->
> returns empty
> CheckError "UpdateAllRecord", "Cursor_SetField", temp
>
> put Valentina ("Cursor_UpdateAllRecords",cursorRef) into temp --> returns
> true
> CheckError "UpdateAllRecords", "Cursor_UpdateAllRecords", temp
>
> put Valentina ("DataBase_Flush",dbRef) into temp --> returns empty
> CheckError "UpdateAllRecords", "DataBase_Flush", temp end UpdateAllRecords
>
> What is wrong ??
Looks to be correct.
Hmm, you can try to use SQL command
UPDATE T SET fldname = value WHERE ...
--
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