access中vba的小问题

djwinter 2006-04-25 08:07:14
帮一个美女完成一个access数据库的作业时候,遇到了一个地方我认为要用vba的地方,但是完全不会,不知哪位大侠能够帮忙.
请联系djwinter2000@msn.com
在线等待,多谢了

在这里描述不清楚,而且也不能上载文件:(
...全文
126 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
djwinter 2006-04-25
  • 打赏
  • 举报
回复
http://access911.net/csdn/FileDescription.asp?mdb=2006-4-25&id=32

要求如下:
e) Write a query that will calculate the club’s profit or loss from when they started buying shares. You can implement this in SQL or in QBE. Explain how it works in your write up and include a print out of the results.
f) Write a query or VBA code that will reduce holdings in a certain company by a certain percentage which happens when the club decides to sell a number of shares. This query should NOT alter the bank balance (that happens when the club actually get the money from the broker). You may assume that the club always gets the current share price.
g) Write a query or VBA code that will allow the club to examine what will happen to their bank balance if they sell all or part of some of their shares. They will enter something like “BT” and 50% and the database will output how much money they will make from selling 50% of their shares in BT, and tell them their new bank balance. This query could be made more advanced by allowing the club to enter more than one share at a time such as: “BT”, 50%, “EasyJet”, 30%, etc. You may assume that the club always gets the current share price. You may or may not wish to take the brokers fees into account. Submit a print out of your SQL/QBE/VBA code with comments to explain how it works.
h) Write a query or VBA code that will calculate how much each member would get if the club was dissolved i.e. the amount in the bank, plus the money that would be raised by selling all shares, divided by the number of members in the group. You may assume that the club always gets the current share price. You should produce a report formatted in a suitable way that details this information, along with how much the broker would be paid. Submit a print out of your SQL/QBE/VBA code with comments to explain how it works.
i) Add additional queries/reports as you think useful.
j) Write a description and/or pseudo code of an algorithm that will give the club a buy / don’t buy / sell / hold decision for each of the shares that are have been identified as being of interest to the group. (This is historically a very tricky problem and there
djwinter 2006-04-25
  • 打赏
  • 举报
回复
http://access911.net/csdn/FileDescription.asp?mdb=2006-4-25&id=32

要求如下:
e) Write a query that will calculate the club’s profit or loss from when they started buying shares. You can implement this in SQL or in QBE. Explain how it works in your write up and include a print out of the results.
f) Write a query or VBA code that will reduce holdings in a certain company by a certain percentage which happens when the club decides to sell a number of shares. This query should NOT alter the bank balance (that happens when the club actually get the money from the broker). You may assume that the club always gets the current share price.
g) Write a query or VBA code that will allow the club to examine what will happen to their bank balance if they sell all or part of some of their shares. They will enter something like “BT” and 50% and the database will output how much money they will make from selling 50% of their shares in BT, and tell them their new bank balance. This query could be made more advanced by allowing the club to enter more than one share at a time such as: “BT”, 50%, “EasyJet”, 30%, etc. You may assume that the club always gets the current share price. You may or may not wish to take the brokers fees into account. Submit a print out of your SQL/QBE/VBA code with comments to explain how it works.
h) Write a query or VBA code that will calculate how much each member would get if the club was dissolved i.e. the amount in the bank, plus the money that would be raised by selling all shares, divided by the number of members in the group. You may assume that the club always gets the current share price. You should produce a report formatted in a suitable way that details this information, along with how much the broker would be paid. Submit a print out of your SQL/QBE/VBA code with comments to explain how it works.
i) Add additional queries/reports as you think useful.
j) Write a description and/or pseudo code of an algorithm that will give the club a buy / don’t buy / sell / hold decision for each of the shares that are have been identified as being of interest to the group. (This is historically a very tricky problem and there
OracleRoob 2006-04-25
  • 打赏
  • 举报
回复
上传到:
http://www.access911.net/csdn/

7,732

社区成员

发帖
与我相关
我的任务
社区描述
Microsoft Office Access是由微软发布的关系数据库管理系统。它结合了 MicrosoftJet Database Engine 和 图形用户界面两项特点。
社区管理员
  • Access
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧