Hi,
I am having some difficulties with a thematic mapping task with MapBasic.
Maybe someone out there in MapInfo land can help me?
I have an application in which I want to create a thematic map using 4
equal count ranges based on information from a given table (called "
water_levels"). The problem is that the column in the "water_levels" table
on which the thematic map is going to be created is not always the same.
The column name is stored in the string variable "col_name" and is in the
form "col4" etc.
The code that is causing problems is:
Create Ranges
>From water_levels
With col_name
Use "Equal Count"
Number 4
Round 0.1
Into Variable GW_ranges
At run time this results in an error of the form "Invalid variable type".
If I replace the variable "col_name" in the above code with col4 everything
goes fine, the only problem being that it is not always col4 which I want
to shade!
Anyone able to give me some advice?
Steven Kalma
URS/Dames & Moore
The Netherlands
Email: [EMAIL PROTECTED]
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]