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

Help for Auto incrementing Value in Access Database

Status
Not open for further replies.

aramraj

Programmer
Nov 16, 2004
4
CA
Hi,
I have two tables
Table 1 is having one field with starting value say T00001

Table 2 is having all other employee id , year, period number, Document No

I want code to update table 2 by taking the value in table 1 and increment for every combination of employeeid, year and period.

For eg Data looks as Follows
Empid year period document no
ABC1 2008 1 T00002
ABC1 2008 1 T00002

ABC2 2008 1 T00003
ABC2 2008 1 T00003

I should able to determine document no and update for any new combination of the three fields.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top