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

small vb.net issues

Status
Not open for further replies.

angela4eva

Programmer
Apr 29, 2005
46
US
i have a table that have record numbers,but record numbers are zero i want to query that table,get all the records that have a record number as zero then look at thehighest rec number and start increamenting and give the next numbers to the records with recno as zero's.Any help will be appreciated.
thanks
 
What do you have so far.

why do you not use identity or autonumber or sequence? Depending on the database.

Christiaan Baes
Belgium

"My old site" - Me
 
The data is imported,i want to keep the rec number same except for the ones with zeros that have to be given the subsequent numbers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top