remove group doesn't work
Mark Schonewille
m.schonewille at economy-x-talk.com
Fri Oct 3 17:27:35 EDT 2008
Hi Jim
What's the error?
The following might solve the problem:
lock messages
put the groupNames of card "patient_insurance" into tGroupCheck
if "insurance2" is among the lines of tGroupCheck then
remove group "insurance2" from card "patient_insurance"
end if
unlock messages
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum/
Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html
for more info.
On 3 okt 2008, at 22:32, Jim McNeely wrote:
> I have the following in a certain handler:
>
> put the groupNames of card "patient_insurance" into tGroupCheck
> if "insurance2" is among the lines of tGroupCheck then remove group
> "insurance2" from card "patient_insurance"
>
> Sometimes it will error on the second line, and I can't figure out
> why. I don't think it is because it isn't there, it is checking for
> that first.
>
> It gives this error:
>
> field "resultList": execution error at line 132 (Chunk: can't find
> background), char 59
>
> Thanks,
>
> Jim McNeely
More information about the use-livecode
mailing list