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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

expand number range

Status
Not open for further replies.

mcginty

IS-IT--Management
Mar 14, 2001
35
0
0
IE
Hi All,

I have a table with 3 fields detailing number ranges:

Number1 ; Number2 ; Qty

Number1 = lowest number in range
Number2 = highest number in range
Qty = number of records in range

a record looks like:

500 ; 599 ; 100
900 ; 998 ; 99

What I need is a unique record for each enrty in the number range, eg: 500, 501, 502..up to 599, based on either lowest & highest or lowest & qty of records.

Any ideas?
 
To get the list of order numbers between ranges
 
Don't worry, got this sorted myself.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top