T
Thomas
I am having a problem with a table in MS Access 2003:
I have a table tbl1 with the folowing
fields(id,personelid,name,startdate,enddate,ammount) and I want to
create a new table tbl2 with the folowing
fields(id,personelid,name,startdate,enddate,year,month,ammount).
For every id in tbl1 I want e record for every month and year from
startdate to enddate.
for example:
tbl1 (id,personelid,name,startdate,enddate,ammount)
1,d125,employee name,01/01/2006,01/04/2006,25$
tbl2 (id,personelid,name,startdate,enddate,year,month,ammount)
1,d125,employee name,01/01/2006,01/04/2006,1,2006,25$
1,d125,employee name,01/01/2006,01/04/2006,2,2006,25$
1,d125,employee name,01/01/2006,01/04/2006,3,2006,25$
1,d125,employee name,01/01/2006,01/04/2006,4,2006,25$
thanks
I have a table tbl1 with the folowing
fields(id,personelid,name,startdate,enddate,ammount) and I want to
create a new table tbl2 with the folowing
fields(id,personelid,name,startdate,enddate,year,month,ammount).
For every id in tbl1 I want e record for every month and year from
startdate to enddate.
for example:
tbl1 (id,personelid,name,startdate,enddate,ammount)
1,d125,employee name,01/01/2006,01/04/2006,25$
tbl2 (id,personelid,name,startdate,enddate,year,month,ammount)
1,d125,employee name,01/01/2006,01/04/2006,1,2006,25$
1,d125,employee name,01/01/2006,01/04/2006,2,2006,25$
1,d125,employee name,01/01/2006,01/04/2006,3,2006,25$
1,d125,employee name,01/01/2006,01/04/2006,4,2006,25$
thanks