Hello all,
I've been working on refining an established MS access database. There is a priority field in an import table, and it gets reset when you re-import data that matches entries already existing in the table, giving a priority 1 to the new data.
This uses an update query, with where the new priority is set at +1 from the existing priority (see attached picture). However, this is assigning random numbers greater than the existing priority, instead of incrementing all existing priorities by one.
I imported the one data field 4 times, this was the result:
priority
1
8
78
85
I expecting the priorities to be 1,2,3,4???? How do I get them to increment by 1, instead of randomly assigning integers?
I am confused, any help would be awesome.
Thanks in advance,
Dmac
I've been working on refining an established MS access database. There is a priority field in an import table, and it gets reset when you re-import data that matches entries already existing in the table, giving a priority 1 to the new data.
This uses an update query, with where the new priority is set at +1 from the existing priority (see attached picture). However, this is assigning random numbers greater than the existing priority, instead of incrementing all existing priorities by one.
I imported the one data field 4 times, this was the result:
priority
1
8
78
85
I expecting the priorities to be 1,2,3,4???? How do I get them to increment by 1, instead of randomly assigning integers?
I am confused, any help would be awesome.
Thanks in advance,
Dmac
Comment