Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Show gaps in sequence?

Status
Not open for further replies.

brmstr

Technical User
Sep 18, 2003
10
0
0
LU
Hi there,

I'm interested if there's a solution to this:

Say you have an attribute in which you expect a sequence number with a stepping of 1.

Now I'd like to report on all the gaps in this sequence between the min and the max existing in the elements list.

Example:
"sequence" contains 5, 8, 10

report result expected: 6, 7, 9


Thanks,
Bob
 
Do you have access to another table that contains all the number (i.e. no gap)?

If yes, then I see at least one solution.

FLB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top