There is nothing about stupidity in your answer :-)
BTW If you want multiple UNDO and REDO that property must be array, so you was on the right way :o))))
>>SCATTER NAME creates object not array, maybe you want :
>>scatter TO ThisForm.aNewValues
>
>Of course! How could I overlook that? (
Against stupidity...) I had tried to create an array property; with a regular property, SCATTER NAME and GATHER NAME work all right.
>
>Here is some sample code, for Canh:
>
>
>* Form.Init()
>ThisForm.AddProperty("aNewValues")
>
>* TestButton.Click()
>wait window "Old value: " + C1
>replace C1 with "xyz"
>wait window "New value: " + C1
>scatter name ThisForm.aNewValues
>TableRevert()
>wait window "Old value: " + C1
>gather name ThisForm.aNewValues
>wait window "New value: " + C1
>
>
>The table, which contains a field called C1, was previously opened with buffering = 5.
>
>For the real application, the "Undo" and "Redo" actions would be in different buttons.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.