Updating all records again
Robert Brenstein
rjb at robelko.com
Fri Feb 25 11:13:27 CST 2005
>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
More information about the Valentina
mailing list