Hello All,
I am trying to write a query that will not leave any null values in a field. Basically, I need the query to look at the previous field and put that value in the null field until there is a change in field then add a sequential number at the end.
Example:
ID Field
21111
(Null)
(Null)
(Null)
21112
(Null)
(Null)
(Null)
Desired Results:
ID Field
21111
211111
211112
211113
21112
211121
211122
211123
This will eliminate all null fields and add a sequential number to the end.
Thanks for your help.
I am trying to write a query that will not leave any null values in a field. Basically, I need the query to look at the previous field and put that value in the null field until there is a change in field then add a sequential number at the end.
Example:
ID Field
21111
(Null)
(Null)
(Null)
21112
(Null)
(Null)
(Null)
Desired Results:
ID Field
21111
211111
211112
211113
21112
211121
211122
211123
This will eliminate all null fields and add a sequential number to the end.
Thanks for your help.