Row Consecutive

257 views
Skip to first unread message

Benjamin Gil

unread,
Mar 4, 2024, 4:29:18 PMMar 4
to MapInfo-L
Hello, I am trying to create a consecutive for each row in the ID column and I can't find a way, can anyone help me?

Thanks

Uffe Kousgaard

unread,
Mar 5, 2024, 2:37:45 AMMar 5
to mapi...@googlegroups.com
Hi,

Use "Table > update column" and then use function rowid() as value.

Kind regards
Uffe Kousgaard



On 04-03-2024 18:10, Benjamin Gil wrote:
Hello, I am trying to create a consecutive for each row in the ID column and I can't find a way, can anyone help me?

Thanks
--
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en

---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mapinfo-l+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapinfo-l/1f6492aa-ef3c-4829-a26d-9d452a1f7366n%40googlegroups.com.

Peter Horsbøll Møller

unread,
Mar 5, 2024, 3:04:11 AMMar 5
to mapi...@googlegroups.com

Uffe is right, but leave out () after rowid.

 

Here’s an example:

A screenshot of a computer program

Description automatically generated

 

Peter

 

 

Peter Horsbøll Møller
Principal Sales Engineer - Distinguished Engineer

 

From: mapi...@googlegroups.com <mapi...@googlegroups.com> On Behalf Of Uffe Kousgaard
Sent: 5. marts 2024 08:38
To: mapi...@googlegroups.com
Subject: Re: [MI-L] Row Consecutive

 

This message originated Externally. Use proper judgement and caution with attachments, links, or responses.

 

Benjamin Gil

unread,
Mar 5, 2024, 4:31:16 PMMar 5
to MapInfo-L
Excellent, thanks a lot, it works perfec!!

Regards

Benjamin Gil

unread,
Mar 7, 2024, 8:41:10 AMMar 7
to MapInfo-L
Hello, how can I create a column that indicates the year in all the rows, in another column the quarter and another some character value?

Ben.

Reply all
Reply to author
Forward
0 new messages