Home > Back-end >  ExpressSpreadSheet how to direct calls are used to Excel files in the database
ExpressSpreadSheet how to direct calls are used to Excel files in the database

Time:09-30

ExpressSpreadSheet how to direct calls are used to Excel in the database file

Do report template in Excel file, save in the used document, Image type field, now have been implemented from the database by TBlobField (ADSReport. FieldByName (' TempleteFile). SavetoFile (FileName); Saves the file to disk, and then use cxSpreadsheet. LoadFromFile (FileName) call cxSpreadsheet,

How to through the disk, not directly from the database access cxSpreadSheet,

CodePudding user response:

Done, need to put the memory stream pointer Position to zero, mStream. Position:=0;

CodePudding user response:

LoadFromStream



refer to the original poster hontim response:
ExpressSpreadSheet how to direct calls are used to Excel in the database file

Do report template in Excel file, save in the used document, Image type field, now have been implemented from the database by TBlobField (ADSReport. FieldByName (' TempleteFile). SavetoFile (FileName); Saves the file to disk, and then use cxSpreadsheet. LoadFromFile (FileName) call cxSpreadsheet,

How to through the disk, not directly from the database call cxSpreadSheet,

CodePudding user response:

The original poster can share the detailed process?
  • Related