how to remove blank lines from table

Alex Tweedly alex at tweedly.net
Mon Feb 28 06:04:22 EST 2005


Rich Lague wrote:

> How do you get rid of extra lines at the end of a list when that list 
> comes from a table field?

> First I tried this on the table field:
>   filter field “tTable” with "?*"
>
> That didn’t work.

That works for me ..... simple stack with two fields and on button - the 
button script is

on mouseUp
  put field "Field" into field "lockedField"
  filter field "lockedField" with "?*"
  put ">>>" after field "lockedField"             -- to let me see if 
trailing blank lines  were deleted
end mouseup

and it works properly. I did comment out the filter line and verified 
the lines were there.

Dreamcard 2.5,  WinXP

-- 
Alex Tweedly       http://www.tweedly.net



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.5.1 - Release Date: 27/02/2005



More information about the use-livecode mailing list