i created a simple database for keeping the track of Asset.
in the main form i have below fields:
"Date of Purchase" "Purchase Price" "Depreciable Life"
on the subform have three fields
"Month No" "date(dd/mm/yy)" "depreciation Value"
i need the subform to be updated with date and depreation value as below by an command click
can someone help me with the code
ragu![[pc] [pc] [pc]](/data/assets/smilies/pc.gif)
in the main form i have below fields:
"Date of Purchase" "Purchase Price" "Depreciable Life"
on the subform have three fields
"Month No" "date(dd/mm/yy)" "depreciation Value"
i need the subform to be updated with date and depreation value as below by an command click
Code:
Main form Data:
"Date of Purchase" = 10/01/04
"Purchase Price" = 18000
"Depreciable Life" = 3 yrs
subForm to be filled like:
Depreci.
MonthNo Date Value
1 10/02/2004 500
2 10/03/2004 500
3 10/04/2004 500
4 10/05/2004 500
5 10/06/2004 500
6 10/07/2004 500
7 10/08/2004 500
8 10/09/2004 500
9 10/10/2004 500
10 10/11/2004 500
11 10/12/2004 500
12 10/01/2005 500
13 10/02/2005 500
14 10/03/2005 500
15 10/04/2005 500
16 10/05/2005 500
17 10/06/2005 500
18 10/07/2005 500
19 10/08/2005 500
20 10/09/2005 500
21 10/10/2005 500
22 10/11/2005 500
23 10/12/2005 500
24 10/01/2006 500
25 10/02/2006 500
26 10/03/2006 500
27 10/04/2006 500
28 10/05/2006 500
29 10/06/2006 500
30 10/07/2006 500
31 10/08/2006 500
32 10/09/2006 500
33 10/10/2006 500
34 10/11/2006 500
35 10/12/2006 500
36 10/01/2007 500
can someone help me with the code
ragu
![[pc] [pc] [pc]](/data/assets/smilies/pc.gif)