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!

Add ID Number to every 1000 claims

Status
Not open for further replies.

Steven547

Technical User
Sep 15, 2004
165
0
0
US
I have a request that i'm pondering on how to do. I have 100,000 claims. I want to assign a certain ID or Field for every 1,000 claims. So there will be 1,000 claims with the same ID, then the next 1,000 will have another ID. This is probably real easy and i'm thinking too much on it. Any suggestions? Solutions?
 
If there is a sequential number in the table (i.e. SeqNum) create an id Field in your query similar to this:
NewID: Round(([SeqNum]+500)/1000)

Hope this helps...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top