OK, 

 

This is frustrating . . . I am trying to create points from a flat file that
is mappable. However, I am using variables for the column names as I am
having the user select the columns to use. The syntax is something like
this:

 

Update <table> 

Set obj = CreatePoint(xcoord, ycoord)

 

In the Mapbasic example is has the names of the columns, however, when I
input the variable names such as:

 

Update vName 

Set obj = CreatePoint(vLongname,vLatname)

 

I get the following error:

 

Could not convert data. CreatePoint: argument 1 has invalid type

 

The variables are strings, what am I missing

 

 

 

Any help appreciated

 

NTN

Reply via email to