系统提示语句未结束错误
我用的是多条件查询语句,系统提示“语句未结束”,错误在加红那行。if height1<>"" and height2<>"" then
sql=sql&" member_height>='"&height1&"' and member_height<='"&height2&"' and"
elseif height1="" and height2<>"" then
sql=sql&" member_height<='"&height2&"' and"
elseif height1<>"" and height2="" then
sql=sql&" member_height>='"&height1&"' and"
end if