Delphi Up Regular Episuer Use Excel to edit and print

zhaozj2021-02-11  210

Delphi Up Regular Episuer Use Excel to edit and print

In the commonly used database application, we write report programs to have trouble, and the report programs in Delphi are also inconvenient by the user, and the general data should be added with a header, some of which should be modified or put a few The data of a table is combined into a data set. After printing, these operations are unable to force the report programs in Delphi, and we have an Office suite on most of the computers, we can use Excel's form processing capabilities and inherent How to print output? The answer is yes. We use Excel to handle the functionality of the DBASE file, as long as our database files are compatible with DBASE. In the Database Desktop system in Delphi, new Table table's DBASE IV (you can only use Dabse files because Excel does not make other way files) file sample.dbf, you can establish an index file, here you should pay attention to dATABASE You can only enter English fields in Desktop. In fact, we only use Database Desktop to create file structures, then modify them into Chinese, you can complete the initialization and field of data can be completed in VFP, you may ask why not Data table files are created directly in the VFP because the Excel does not recognize the data table in the VFP, and the data it read is messy.

转载请注明原文地址:https://www.9cbs.com/read-5471.html

New Post(0)