G
Guest
Hi All. Hope someone can help me. I have a table that contains the
following fields: claim#;line#.
I need to count the occurances of line# within each claim and update the
line# with the sequential numbering of each line: ie:
claim # line#
100 1
110 1
110 2
110 3
120 1
currently the table is sorted by claim# and the line# field 0 for each
record.
Can anyone help me figure out a way to read a record, increment a counter,
write the record to a table, read the next record, determine if the claim# is
the same, then either reset the counter or increment the counter and repeat
the process?
All help is welcome and appreciated. Thanks
following fields: claim#;line#.
I need to count the occurances of line# within each claim and update the
line# with the sequential numbering of each line: ie:
claim # line#
100 1
110 1
110 2
110 3
120 1
currently the table is sorted by claim# and the line# field 0 for each
record.
Can anyone help me figure out a way to read a record, increment a counter,
write the record to a table, read the next record, determine if the claim# is
the same, then either reset the counter or increment the counter and repeat
the process?
All help is welcome and appreciated. Thanks