Have you checked that the text string that is your expression is correct? I
noticed in your code
Expression = Expression & "rowid = " & i & " AND"
Normally if you are trying to put an integer into a string expression you
need to use str$(i) to convert it to text i.e it should be:
Expression = Expression & "rowid = " & str$(i) & " AND "
Stephanie Kiem
Environmental Engineer
Connell Wagner (Mackay)
___________________________________________________________________________________________________
A person using Connell Wagner drawings and other data accepts the risk of :
* Using the drawings and other data in electronic form without requesting
and checking them for accuracy against the original hard copy version ;
* Using the drawings or other data for any purpose not agreed to in
writing by Connell Wagner. (ABN 54 005 139 873)
This e-mail message and any attached files may hold confidential
information. If you are not the intended recipient any use, disclosure or
copying of this e-mail is unauthorised. If you have received this e-mail in
error please notify the sender immediately by reply e-mail.
_______________________________________________
MapInfo-L mailing list
MapInfo-L@lists.directionsmag.com
http://www.directionsmag.com/mailman/listinfo/mapinfo-l