N
Nelson The Missing Lead
Hi,
I could be appreciated if you could help me on this:
I have create a query to append some fields onto a new table and create a
new Index field (Autonumber & primary key). I want to calculate the 14days
average closing price of a stock price. The fields of the table are:
1. [ID] - Autonumber & Primary Key
2. [Stock Name] - Text
3. [Close] - Number (Daily Closing price of the stock)
4. [Trade Date] - Date (Note: The trading date is not everyday affair, stock
mkt only open on weekdays)
5. Expr[14daysAvg] - Calculation expression which i have difficulty in
getting right
5. And other fields which I dun think it a concern over my question.
I want to calculate average 14days closing price for the stock. How could I
do it in Access2007?
Hmm, in programming lang, i used to write like this : [Close[ID]] +
[Close[ID+1]] + [Close[ID+2]] or create a FOR statement. But in Access, what
can i do?
Please help.
Thank
Nelson Chou
I could be appreciated if you could help me on this:
I have create a query to append some fields onto a new table and create a
new Index field (Autonumber & primary key). I want to calculate the 14days
average closing price of a stock price. The fields of the table are:
1. [ID] - Autonumber & Primary Key
2. [Stock Name] - Text
3. [Close] - Number (Daily Closing price of the stock)
4. [Trade Date] - Date (Note: The trading date is not everyday affair, stock
mkt only open on weekdays)
5. Expr[14daysAvg] - Calculation expression which i have difficulty in
getting right
5. And other fields which I dun think it a concern over my question.
I want to calculate average 14days closing price for the stock. How could I
do it in Access2007?
Hmm, in programming lang, i used to write like this : [Close[ID]] +
[Close[ID+1]] + [Close[ID+2]] or create a FOR statement. But in Access, what
can i do?
Please help.
Thank
Nelson Chou