>>>>Hi.
>>>>I agree with you about that. My problem is redo action that I can not program.
>>>>If you have any ideas to solve "redo action", please tell me.
>>>>Thanks.
>>>
>>>Well, let's suppose that you want to undo and redo an entire record. Before doing the "undo" (as part of the function that invokes the TableRevert()), you would have to save the modified record values somewhere.
scatter name comes to mind, but I am not sure whether you could scatter to a form property.
>>
>>Yes, no problem with using form's property.
>
>I tried the following, which gave me an error message (VFP6/SP5):
>
>
>ThisForm.AddProperty("aNewValues(1)")
>scatter name ThisForm.aNewValues
>
>
>I assume it is necessary to copy to a regular array first.
SCATTER NAME creates object not array, maybe you want :
scatter TO ThisForm.aNewValues
not tested
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.