2006-07-07 04:51 AM
2007-07-04 03:20 PM
F. wrote:That is exactly what happens. Normally when window or door is placed to wall between two zones, the values the REQUEST ("Zone_relations" ...) returns are strings. But when there is no zone it returns 0 which is a number. So if you make IF-statement to that value, each time when the value isn't proper it "crashes" (only the black dot appears)
I should have known, that you would try.😉 Maybe the request changes the variable from string to numeric. wrap a if vartype(number)=2 then ... around it.