table field clearing
b.xavier at internet.lu
Tue Jul 20 14:16:44 CDT 2004
is there a doc stack regarding the tables object?
> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com
> [mailto:use-revolution-bounces at lists.runrev.com]On Behalf Of Jan
> Sent: Tuesday, July 20, 2004 20:52
> To: How to use Revolution
> Subject: Re: table field clearing
> --- Rich Lague <laguer at ucs.orst.edu> wrote:
> > I have a table field that I want the users of my
> > application to use to
> > make a list. If they decide they don't like their
> > list I want them to
> > be able to start over. The problem is that I can't
> > seem to delete
> > things from the table field and have them stay
> > deleted.
> > I put this in the message box:
> > delete line 3 of field "daTable"
> > Line 3 of the field went blank when I hit return.
> > However, when I went
> > to type something new into line 3 of the field the
> > old contents
> > suddenly returned when I clicked in the cell. When I
> > hit the arrow key
> > to go to the next cell in the line, the rest of the
> > previous contents
> > of the line reappeared.
> > How can I clear this field so I can put a new text
> > file in it, (with
> > just column headers?)
> > Thanks!
> > Rich Lague
> Hi Rich,
> This is due to the inner workings of the table field
> implementation. To make sure everything is cleaned up,
> use the (undocumented) revEmptyTable command :
> on mouseUp
> put the long name of field "MyTable" into tFieldRef
> revEmptyTable tFieldRef
> end mouseUp
> Hope this helped,
> Jan Schenkel.
> "As we grow older, we grow both wiser and more foolish at the
> same time." (La Rochefoucauld)
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We finish.
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the use-livecode