Updating all records again

Roger Amar Roger at logram.com
Fri Feb 25 12:27:59 CST 2005


Hi Robert,

Valentina("Cursor_GetRecordCount",cursorRef) returns the right number of records.

Roger;

-----Message d'origine-----
De : valentina-bounces at lists.macserve.net [mailto:valentina-bounces at lists.macserve.net] De la part de Robert Brenstein
Envoyé : vendredi 25 février 2005 11:13
À : Valentina Developers
Objet : RE: Updating all records again

>Hi Ruslan,
>
>The version of VXCMD I am using is 1.11 for both Mac and Windows (this 
>value is returned by the "Version" command ) Here are my handlers :
>
>on UpdateAllRecords fldName, fldValue
>    CheckdbRef
>    CheckCursor
>
>    put Valentina ("Cursor_SetField",cursorRef,fldName,fldValue) into temp
>    CheckError "UpdateAllRecord", "Cursor_SetField", temp
>
>    put Valentina ("Cursor_GetField",cursorRef,fldName) into tempValue 
>--> just for checking here tempValue = fldValue
>    CheckError "UpdateAllRecord", "Cursor_SetField", tempValue
>
>    put Valentina ("Cursor_UpdateAllRecords",cursorRef) into temp
>    CheckError "UpdateAllRecords", "Cursor_UpdateAllRecords", temp
>
>    put Valentina ("DataBase_Flush",dbRef) into temp
>    CheckError "UpdateAllRecords", "DataBase_Flush", temp end 
>UpdateAllRecords
>

Roger, have you tried adding

  answer Valentina("Cursor_GetRecordCount",cursorRef)

to check how many records you actually got?

Robert
_______________________________________________
Valentina mailing list
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina





More information about the Valentina mailing list