Hi All

I have this little piece of code that when it compiles I get "(splitline.mb:80) 
Unrecognized command: .. " error.

Dim sNewTable As String 
Dim sBaseTable As String
Dim iRowID As Integer           'RowID Hold
Dim oHold As Object                     'Object Hold

sNewTable = "TMP" & CurDate()
sBaseTable = SelectionInfo(Sel_Info_TableName)
Create Table(sNewTable) Using sBaseTable

Fetch First From sBaseTable
Do Until EOT(sBaseTable)

        'Get Object Information
        oHold = sBaseTable.Obj
        iRowID = sBaseTable.RowID

        '.... Other Code
        Fetch Next From sBaseTable
Loop

Please help find the error in this code, I don't understand why it shouldn't work.  I 
am using MapBasic 7 and MapInfo Pro 7.

TIA

Cheers Ian

Ian Tidy
Network - Technician
Marlborough Lines
1 Alfred Street, P.O. Box 144, Blenheim, New Zealand
Phone + 64 (3) 577 7007, Fax + 64 (3) 577 7014
DDI Phone +64 (3) 579 3831, Mobile + 64 (27) 283 1862
mailto:[EMAIL PROTECTED]
http://www.marlboroughlines.co.nz


This e-mail is only intended to be read by the named recipient.  It may contain 
information which is confidential or subject to legal privilege.  If you are not the 
intended recipient you must delete this e-mail and you may not use any information 
contained in it.  Legal privilege is not waived because you have read this e-mail.

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 6021

Reply via email to