Dear Access 2000 users,
We have two tables, named 2003 and 2004. Each table contains 3
fields. User Name, Period (numbered from 1 to 26), and Amount. We'd
like to compare amounts from period to period for the two years for
each user.
Here's my problem - some of the users don't have all 26 periods (e.g.
they started in period 3 of 2003). Is there any code to go through
and see if period 1 exists for each user, and if it doesn't, add a new
record with the user name and a $0.00 amount in the Amount field? And
then check period 2, and 3, etc.?
If it helps, I have a seperate table of all the user names.
Thanks a million in advance!
Kev
We have two tables, named 2003 and 2004. Each table contains 3
fields. User Name, Period (numbered from 1 to 26), and Amount. We'd
like to compare amounts from period to period for the two years for
each user.
Here's my problem - some of the users don't have all 26 periods (e.g.
they started in period 3 of 2003). Is there any code to go through
and see if period 1 exists for each user, and if it doesn't, add a new
record with the user name and a $0.00 amount in the Amount field? And
then check period 2, and 3, etc.?
If it helps, I have a seperate table of all the user names.
Thanks a million in advance!
Kev
Comment