Hey People, im kinda giving up hope on ACCESS. Ive been killing myself tring to figure out a few thing for several weeks and still havent came to any conclusions. This is a desperate call for HELP. SO PLEASE HELP ME OUT GUYS, cuz im almost loosing hope here.
Ok Guys so here it goes
: I have a table called Indices with the following fields:
Month, DRS, 3-Month Treasury, Lehman Bros. Agg. Bd Index, Lehman Bros. 1-3Y US Treas., Lehman Bros. 7-10Y US Treas., Lehman Bros. 20+Y US Treas, JPMorgan EMBI+, SP 500 Index.
First I need to calculate the BAlancedAllocation which has this formula: =(0.05*[3-Month Treasury]+0.45*[Lehman Bros. Agg. Bd Index]+0.5*[SP 500 Index])
Then I needed to make a table with the formula: =IF(Field<0;1;0)
And After that make a table with this rows in the left with the formulas in the right:
Currency = USD
Period From= Min Date
Period To = Max date
T.A.R =PRODUCT(1+field)^(12/COUNT(field))-1
S.D. =STDEVP(field)*SQRT(12)
And all the fields as colums!
Should i use VB or SQL? Ive been tring to make it by SQL for several weeks and havent gotten good resolts. If you guy could help me out writing a VBA for it id be more than glad.
Ok Guys so here it goes

Month, DRS, 3-Month Treasury, Lehman Bros. Agg. Bd Index, Lehman Bros. 1-3Y US Treas., Lehman Bros. 7-10Y US Treas., Lehman Bros. 20+Y US Treas, JPMorgan EMBI+, SP 500 Index.
First I need to calculate the BAlancedAllocation which has this formula: =(0.05*[3-Month Treasury]+0.45*[Lehman Bros. Agg. Bd Index]+0.5*[SP 500 Index])
Then I needed to make a table with the formula: =IF(Field<0;1;0)
And After that make a table with this rows in the left with the formulas in the right:
Currency = USD
Period From= Min Date
Period To = Max date
T.A.R =PRODUCT(1+field)^(12/COUNT(field))-1
S.D. =STDEVP(field)*SQRT(12)
And all the fields as colums!
Should i use VB or SQL? Ive been tring to make it by SQL for several weeks and havent gotten good resolts. If you guy could help me out writing a VBA for it id be more than glad.