Hey guys, I've been reading these forums for more than a year now, and usually someone has asked the question before me, so thanks!
But now i have a different problem I could use some help with.
I have table that stores
Unit # integer
Unit Type text
Effective date (date of unit value)
Unit Price double (this is not a currency as units are priced with up to 8 decimals)
TT text (Transaction type, has 2 values either AV price or ID for dividend)
Ok, using parameters, I want to be able to enter a Unit, Unit Type, and Effective, and also an Amount in $.
What I want as out put is the running value in units of what the original amount is from the given date to the present.
e.i.
Unit = 090
Unit Type = FV
Effective = Feb 1 2006
Amount = 1000
As the fund price flucuates I want the amount to update through the datasheet view.
If I can get this to work, I'll ask about how I can add the Dividend's which are calculated on the amount of units.
Thanks very much for any help you can give.
4 1628
Hey guys, I've been reading these forums for more than a year now, and usually someone has asked the question before me, so thanks!
But now i have a different problem I could use some help with.
I have table that stores
Unit # integer
Unit Type text
Effective date (date of unit value)
Unit Price double (this is not a currency as units are priced with up to 8 decimals)
TT text (Transaction type, has 2 values either AV price or ID for dividend)
Ok, using parameters, I want to be able to enter a Unit, Unit Type, and Effective, and also an Amount in $.
What I want as out put is the running value in units of what the original amount is from the given date to the present.
e.i.
Unit = 090
Unit Type = FV
Effective = Feb 1 2006
Amount = 1000
As the fund price flucuates I want the amount to update through the datasheet view.
If I can get this to work, I'll ask about how I can add the Dividend's which are calculated on the amount of units.
Thanks very much for any help you can give.
See this link (scroll down to the topic "Calculating running sums (cumulative totals)"): http://office.microsoft.com/en-us/ac...224441033.aspx
OK I see how that could work when my table stores the amount of units, or a dollar amount. However... this is a thoretical calculator let me explain in more detail
I have stock prices, these stocks pay infrewuent dividends.
I want to be able to query the database as such
I enter $1000 for stock A with a date of Feb 2 2006.
Using the fund price on the original trade date, I will get a number of shares.
The number of shares won't flucuate after this point, only it's value as the price of the share goes up and down. This is the first problem.
When dividends are paid out, they are paid as a certain amount per share owned. But the price stock is updated the same day as the dividend is paid out.
Essentially I don't care about price flucuations, only that dividends are paid out a rate of the shares owned and that rate is the Stock Price of the day that the dividend is paid out.
Also, this table I have I have a field TT for transaction type. AV= stock price and ID = dividend.
OK I see how that could work when my table stores the amount of units, or a dollar amount. However... this is a thoretical calculator let me explain in more detail
I have stock prices, these stocks pay infrewuent dividends.
I want to be able to query the database as such
I enter $1000 for stock A with a date of Feb 2 2006.
Using the fund price on the original trade date, I will get a number of shares.
The number of shares won't flucuate after this point, only it's value as the price of the share goes up and down. This is the first problem.
When dividends are paid out, they are paid as a certain amount per share owned. But the price stock is updated the same day as the dividend is paid out.
Essentially I don't care about price flucuations, only that dividends are paid out a rate of the shares owned and that rate is the Stock Price of the day that the dividend is paid out.
Also, this table I have I have a field TT for transaction type. AV= stock price and ID = dividend.
Try using a form on which you've placed unbound controls for each of the investment parameters that you want running totals for. Then use an update query to run through your transaction table and accumulate and post the totals for each/all of your parameters.
Try using a form on which you've placed unbound controls for each of the investment parameters that you want running totals for. Then use an update query to run through your transaction table and accumulate and post the totals for each/all of your parameters.
My apologies.. I wasn't thinking...I should have said use a select "totals" query to run thru your transaction table and accumulate the totals of each one of your parameters and either use the query as the data source for a form or report.
A good tutorial reference source that will show you how to do a totals query and other advanced queries is shown at the following link: http://www.fmsinc.com/tpapers/querie...lect%20Queries
Hope this helps.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Bill Dika |
last post by:
Hi
I am trying to calculate a running total of a calculated textbox
(tbAtStandard) in GroupFooter1 for placement in a textbox
(tbTotalAtStandard) on my report in Groupfooter0.
The problem...
|
by: Tony Williams |
last post by:
I have a database that hold s figures for each quarter. I want to create a
query whereby the user can ask for the running total of the data upto the
quarter they enter into a prompt. The database...
|
by: KashMarsh |
last post by:
Trying to show running totals on a report, except it needs to show one
total amount and values being subtracted from it. For example,
the report shows a Total Inventory amount (TotInvAmt). And...
|
by: Beacher |
last post by:
Hi all,
I'm having troubles with a report I've created. You make some
selections on a form which then sets a reports filter property and
opens the report, this works fine. One bigger problem...
|
by: BerkshireGuy |
last post by:
I have the following code:
Dim strSQL As String
Dim DB As DAO.Database
Dim RS As DAO.Recordset
Dim intNumOfPaid, intNumOfHypoed, intNumOfNotTaken, intNumOfDeclined,
intNumOfWasted,...
|
by: Jana |
last post by:
Using Access 97.
Background:
I have a main report called rptTrustHeader with a subreport
rptTrustDetails in the Details section of the main report. The main
report is grouped by MasterClientID. ...
|
by: =?Utf-8?B?Um9iZXJ0IENoYXBtYW4=?= |
last post by:
Hi, Fairly easy to create one running total for a gridview but what if you
have dozens of them?
I have a gridview that allows bulk editing (all rows at once) and have it
set up so that, on data...
|
by: mochatrpl |
last post by:
I am looking for a way to make a query / report display the running
average for total dollars.
I have already set up a query to provide totals dollars per day from
which a report graphly shows...
|
by: JJM0926 |
last post by:
I'm trying to create a running totals query in access 97. I have
followed the directions on how to do it from Microsofts website
article id 138911. I took their code they had and replaced it with...
|
by: Stuart Shay |
last post by:
Hello All:
I have a array which contains the totals for each month and from this array
I want to get a running total for each month
decimal month = new decimal;
month = 254; (Jan)
month =...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |