Hi All,

I'm trying to edit a mapinfo table using MapX and Visual Basic 5.0.
I am able to open the table as a dataset, and read the information 
included in the mapinfo table, however I can't change the numbers
in columns. Visual Basic says they are read-only.

My code :

    Dim ds As MapXLib.Dataset
    Dim l As Layer
    Dim f As Feature
 
    Set l = Map1.Layers("vodotoki_rac_drp")
    Set ds = Map1.Datasets.Add(miDataSetLayer, l)
    
             Set f = l.Selection(1)
             a-variable = ds(f, 4)

the above works, however I'd like to do

            ds(f,4) = 1234

and this does't work.


  Any hints?


           Jure.



Jure Ravnik
Ecological Engineering Institute
Slovenia

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]

Reply via email to