Reports in PMS There are two reports in PMS: Stock performance report. When the Stock Performance form is loaded, it has an MS-Flexgrid control, which populates all the stock IDs and corresponding stock names . This has been accomplished by calling the GetStocks method of VBReportCOM component. This method returns stock IDs and the respective stock names, as shown in Figure 12-10. When a row from MS-Flexgrid is double-clicked, the same stock ID appears in the textbox. When ViewPerformance button is clicked, a weekly performance chart is displayed for that stock ID. This is accomplished by calling the GetStockPerformance method, which returns the weekly performance of the specified stock ID. Figure 12-11 shows a stock performance report for a particular stock ID. Figure 12-10. Stock Performance Report screen. Figure 12-11. Stock Performance Report Screen for a particular Stock ID |