Hello,All:

In delphi and MaoInfo Ole , I wrote this code:

//-------------------------code
..
ts := '';
 for j := 0 to 34 do begin
  if j<>34 then 
    ts := ts + 'bs_no = "'+slist.strings[j] + '" OR '
    else 
    ts := ts + 'bs_no = "'+slist.strings[j] + '"';
 end;    // for
 ts := 'Select * from CELL where '+ts;
 MapInfo.Do(ts);
...
//-------------------------code


 It runs Ok!

 but when i change "34" --> "35"

 it runs error , mapinfo show error message box " Expression too complex".

 Why? How can i do?

 Help me!

 thanks!



            Xu Xiaoning
            [EMAIL PROTECTED]
            [EMAIL PROTECTED]
            ICQ:46904055

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to