Hi,

I am sure this is a simply MB question, but I am just getting my feet wet.

I want to select polygons in a table by the fill pattern and colour.  I have
the code:

Select * from TableName where
Str$(ObjectInfo(TableName.obj,3))="Brush(2,16711680,16777215)" into Selection

but it gives me an error:

ObjectInfo: argument 2 out of range

I got the Brush "numbers" by creating a legend and reading the code that was in
the *.wor file.  

Does anyone know what this error means and what I have to do to fix it?

I have looked in the MB Reference book and the archives but between the two I
am still stuck.

Many Thanks,

Andrea

Reply via email to