Simple problem, but not having luck with a solution.
I am trying to remove the selected line from a list field.
Any help would be great.
Thanks in advance!
Remove selected line from a list field
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Hi Wake,
do this:
...
put the hilitedlines of fld "your list field" into line2Bdeleted
## Always a good idea to doublecheck!
if line2Bdeleted <> empty then
delete line line2Bdeleted of fld "your list field"
end if
...
See "hilitedlines" and "selectedtext" (in case you once need the text that is hilited
) in the docs.
Best from germany
Klaus
do this:
...
put the hilitedlines of fld "your list field" into line2Bdeleted
## Always a good idea to doublecheck!
if line2Bdeleted <> empty then
delete line line2Bdeleted of fld "your list field"
end if
...
See "hilitedlines" and "selectedtext" (in case you once need the text that is hilited

Best from germany
Klaus