>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:
ThisForm.AddProperty("aNewValues")
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.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)