Title: MI: datatype mismatch error

Hi List,

Why this gives error:

dim tname as string
dim tobj as alias
tname = layerinfo(frontwindow(),4,1)
tobj = tname+".obj"

Select * from Areatable, tshape where Areatable.Obj Contains tobj into roadinfo

Last line gives error "datatype mismatch in expression". If I use Actual_table_name.obj instead of tobj, it works fine

Ken

Reply via email to