I
IKMD66
Hi,
Below is an example of the data I currently have.
I need to update the field ConcatenateGroup (when null) with the value from
the first record where OriginalID is less than the current record and GroupID
is not null
For example the records where OriginalID = 19 through 33 should be updated
with the ConcatenationGroup 17, whereas the record where OriginalID = 45
should be updated with the ConcatenationGroup 43....and so on
OriginalID GroupID ConcatenateGroup
17 10 17
19
21
23
25
27
29
31
33
43 36 43
45
191 184 191
193
203 196 203
205
247 240 247
Can anyone assist with the logic required to do this?
Thanks in advance.
Kirk
Below is an example of the data I currently have.
I need to update the field ConcatenateGroup (when null) with the value from
the first record where OriginalID is less than the current record and GroupID
is not null
For example the records where OriginalID = 19 through 33 should be updated
with the ConcatenationGroup 17, whereas the record where OriginalID = 45
should be updated with the ConcatenationGroup 43....and so on
OriginalID GroupID ConcatenateGroup
17 10 17
19
21
23
25
27
29
31
33
43 36 43
45
191 184 191
193
203 196 203
205
247 240 247
Can anyone assist with the logic required to do this?
Thanks in advance.
Kirk