Import new data to MSHFlexgrid without affecting existing data..

06-09-2005, 09:22 PM

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..

06-10-2005, 05:10 AM
Using the .TextMatrix() property of the FlexGrid you can set the value of indiviual cells.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum