bassisz
06-09-2005, 08:22 PM
Hi,
How can I import an Excel file containing data for example student ID and student name on a particular cell in the MSHFlexGrid without affecting the existing data in it. For example when "import" button is clicked it will prompt the user for the Excel file containing the value that will be imported. Then the value will be displayed in cell (3, 1) downwards and cell (3, 2) downwards.
My problem is whenever I perform the import action, the MSHFlexGrid will only display the value in the Excel file that I have selected in new MSHFlexGrid and the existing data in the previous MSHFlexGrid will be lost. How can I eliminate this problem? Any suggestions and examples? :confused: TQ in advance..
How can I import an Excel file containing data for example student ID and student name on a particular cell in the MSHFlexGrid without affecting the existing data in it. For example when "import" button is clicked it will prompt the user for the Excel file containing the value that will be imported. Then the value will be displayed in cell (3, 1) downwards and cell (3, 2) downwards.
My problem is whenever I perform the import action, the MSHFlexGrid will only display the value in the Excel file that I have selected in new MSHFlexGrid and the existing data in the previous MSHFlexGrid will be lost. How can I eliminate this problem? Any suggestions and examples? :confused: TQ in advance..