This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.


Hi,
 
Is anybody able to figure out what is wrong with the following piece of
code?
 
When I execute in a MapBasic 6 program it fails with the following error
message:
        "Expression does not evaluate to a column or table name"
However if I run it line by line in the Mapbasic window it executes
correctly.
 
The code is...
 
       Dim sObj as Object
   
       Select * From Districts Where Districts.District_Name = "MALLEE" into
tmp1 
       Fetch First From tmp1
       sObj = tmp1.obj
 
       Select * From Flora Where obj Within sObj into tmpFlora

Thanks in advance for any assistance.
 
Chris
 

        Christopher Prescott 
Spatial Consultant 
Reserve Planning 
Department for Environment and Heritage 

        GPO Box 1407 
Adelaide SA 5001 

        Email:    [EMAIL PROTECTED] 
Phone:   +61 8 8204 9185 
Fax:       +61 8 8204 9206 

The information in this e-mail may be confidential and/or legally
privileged.  Use or discolsure of the information by anyone other than the
intended recipient is prohibited and may be unlawful.  If you have received
this e-mail in error please advise by return e-mail or by telephoning +61 8
8204 9185.

 



_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to