S
shanna
Need to create a function to fill a table with multiple
records based on an outline from a source table.
The source table has several entries and needs to be
traversed to get the desired output.
So if the source table has
[ID] , [start num] , [end num] , [status]
47 2 5 good
48 8 11 fair
The destination table should end up with
[ID] , [num] , [status]
47 2 good
47 3 good
47 4 good
47 5 good
48 8 fair
48 9 fair
48 10 fair
48 11 fair
This is a simplification of the real task, but if I could
figure out this, I could do the real (big-advanced) one
that we need. It is the logic that I lack to accomplish
this.
Any ideas or suggestions?
Thanks in advance
records based on an outline from a source table.
The source table has several entries and needs to be
traversed to get the desired output.
So if the source table has
[ID] , [start num] , [end num] , [status]
47 2 5 good
48 8 11 fair
The destination table should end up with
[ID] , [num] , [status]
47 2 good
47 3 good
47 4 good
47 5 good
48 8 fair
48 9 fair
48 10 fair
48 11 fair
This is a simplification of the real task, but if I could
figure out this, I could do the real (big-advanced) one
that we need. It is the logic that I lack to accomplish
this.
Any ideas or suggestions?
Thanks in advance