I want to build a report that allows me to select from an individual account, an individual stock, its company name, total cost and current value.
I then want to show the dividends received for previous 6 months, previous 12 months, previous calendar year, previous 36 months and from outset, by selecting the sub category for the dividends for that stock.
I then want to show as a percent, total dividends received divided by cost of stock and total dividends received divided by stock value as a percent.
I then want to draw a chart showing dividends received over the selected time period.
I then want to be able to use this template to show dividends paid into the cash ledger for each stock. Presently there is no link between dividends being paid and the individual stock other than by naming a subcatagory representative of the company name for the stock. So I have a category called dividends and within that subcategories for each stock that pays dividends.
I used AI to generate a template (attached) but get error messages about tables not being valid and columns not existing. Can anyone assist please?
Report template for Stock yields
Moderator: Renato
-
SWPanton
- Senior User
- Posts: 21
- Joined: Wed May 25, 2022 9:47 am
- Are you a spam bot?: No
- Contact:
-
SWPanton
- Senior User
- Posts: 21
- Joined: Wed May 25, 2022 9:47 am
- Are you a spam bot?: No
- Contact:
Re: Report template for Stock yields
Since I posted the topic below I have managed to write the SQL template to show the link between stocks and dividends (see attached SQL test).
I have also tried to use a template created by AI to show the report and tried to use the same AI to correct the report display. When I did the latter the SQL script failed.
Attached is the SQL and template zip file
Screenshot of the SQL test to show its working
Screenshot of the template to show the data is not pulling through into the report.
Are you able to assist?
I have also tried to use a template created by AI to show the report and tried to use the same AI to correct the report display. When I did the latter the SQL script failed.
Attached is the SQL and template zip file
Screenshot of the SQL test to show its working
Screenshot of the template to show the data is not pulling through into the report.
Are you able to assist?
- Renato
- MVP User
- Posts: 929
- Joined: Mon Apr 25, 2011 7:36 pm
- Are you a spam bot?: No
- Location: near Zurich
- Contact:
Re: Report template for Stock yields
Please send me your .mmb file to info@mmex.ch so I can take a look at it.
P.S. I don't have any securities and can't test this.
P.S. I don't have any securities and can't test this.
Renato Forum Administrator (I'm not a developer)
Who is online
Users browsing this forum: No registered users