Shapefiles for example always have a "Counter field" (Objectid) that
you can use to target a special row/object.
My Tabfile does not seem to have unique values in any column (visible)
and only if I combine 2 columns I get unique values.
Since I store values in arrays, and as I understand MapInfo does not
support multidimensional arrays the best bet wold be to use some
(hidden?) object column if there are one?
Or create som type of "Counter" type Column in my Tab file
So is there some column I can use Or do I have to create some type of
column for this?
Are there some type of filed (type) that supports increment, like
counter in access for example?
> ***************************************************************************************************************
> This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system.
> ***************************************************************************************************************
>
>
>
> winmail.dat
> 6KHämta- Dölj citerad text -
>
> - Visa citerad text -
Some key things to remember about this column though is that the value
can change. If you delete some records in the table and then pack the
table it Mapinfo automatically updates this column so that the ID
numbers are sequential. So if you are using the ID as a reference in
other tables this can totally screw things up (I know this from
experience!). This is also why you should never use this field as a
reference lookup field when keeping tables in Access, as Mapinfo does
not update the associated reference fields in other tables.
Select MAPINFO_ID, Money from myDaddysWallet into myWallet
Does not seem to work...
1) For labelling
2) For updating another field such as "myfield = rowid+2"
3) For updating record(s): update mytable set myfield=2 where rowid=17
4) For selecting records: select * from mytable where rowid<100
5) More?
You can not select rowid as a field as you try below. MapInfo_ID is
something else and specific to access tables afair.
Regards
Uffe Kousgaard
You can then perform your SQL statement.
HTH
Greg Driver
System Administrator
Applications Support
ICT
NOT PROTECTIVELY MARKED