Hi I have to admit that I don't really know how table fields work. Out of curiosity I thought I would look at the message watcher to see what happens when you edit a table field. There are a lot of messages cREVtable flying around. Some with the data that is entered as parameters, many with no parameters. If a phantom field is closed you can catch when that happens with getProp cREVtable and look at the target. The target name contains the cell that was closed but doesn't tell you if it was edited or not but tells you the user left the field so there is a chance they did something while it was open. If you press return in the field you can also catch the returnInField the same way but a cREVtable will also be sent from the phantom field.
Here are some test handlers to put in the stack script to catch those events.
Code: Select all
getprop cREVtable
if the short name of the target contains "REVcell" then
answer "Close" && char 9 to - 1 of the short name of the target
end if
pass cREVtable
end cREVtable
on returninfield
if the short name of the target contains "REVcell" then
answer "return" && char 9 to - 1 of the short name of the target
end if
pass returninfield
end returninfield
Another interesting thing is that if you put those two handlers in the card script the cREVtable message is handled by the card but the returnInField message is not.
Further more if you put those two handlers in a group script that contains the table field the neither the cREVtable message nor returnInField message is handled by the group.
Again I don't know know enough about this to know if this would work for your purposes but I thought it was interesting so I thought I would pass this along.