Wilhelm ,
Thanks for the suggestion, but it doesn't work... actually it clears all cells, but when I click on a cell to edit its content, I always retrieve the same old content... only the text that I type when editing a cell does actually change the content of that cell; but when I try to change the text of a table field via script (put line 1 of fld 1 into fld 2), the new text appears in fld 2, but disappears when editing the cell... JB > > > Try this, this is the slightly modified contents of the "revEmptyTable" > handler in button "revTable" of stack "revlibrary", which I put into a > button beneath the table field - it safely clears all cells: > > "on mouseUp > put the name of fld "Table Field" into pObject > put the long id of pObject into tObject > if (word 1 of tObject is "field") and (the cREVGeneral["table"] of > tObject is true) and (exists(tObject)) then > set the text of tObject to empty > set the cREVTable["currentview"] of tObject to empty > set the cREVtable["returnedview"] of tObject to empty > end if > end mouseUp" > > By the way, the Transcript Dictionary does not mention "revEmptyTable". > > Regards, > > Wilhelm Sanke > <http://www.sanke.org> > > _______________________________________________ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
