I use SQLAppend function to doing very long query for example
"SELECT * FROM TABLE WHERE Data Between BEGIN_date AND END_date AND (Grp='K1' OR Grp='K2' OR Grp='K3' OR Grp='K4' OR Grp='K5' OR Grp='K6' OR Grp='K7' OR Grp='K8' OR Grp='K9' OR Grp='K10') ORDER By Data DESC (K1-K10 are pushbuttons state), but string end at 255 characters and my Query stop work.