Integration Into Your Project:
In addition, you can use FastReport Studio in any environment that supports COM technology.
FastReport Studio contains a powerful COM+ interface that allows you to control the entire report-creation process.
#if _MSC_VER < 1300 #import "FastReport3.dll" named_guids #else #import "libid:d3c6fb9b-9edf-48f3-9a02-6d8320eaa9f5" named_guids #endif using namespace FastReport; int main(int argc, char * argv[]) { CoInitialize(NULL); IfrxReportPtr pReport(__uuidof(TfrxReport)); pReport->LoadReportFromFile("MyReport.fr3"); pReport->DesignReport(); CoUninitialize(); return 0; }
Dim report As TfrxReport Private Sub Command1_Click() report.LoadReportFromFile("MyReport.fr3") report.DesignReport End Sub Private Sub Form_Load() Set report = CreateObject("FastReport.TfrxReport") End Sub Private Sub Form_Unload(Cancel As Integer) Set report = Nothing End Sub
using System; using FastReport; namespace ConsoleApplication1 { class Class1 { [STAThread] static void Main(string[] args) { TfrxReportClass report; report = new TfrxReportClass(); report.LoadReportFromFile("MyReport.fr3"); report.DesignReport(); } } }
FastReport Studio uses Microsoft ADO (ODBC) technology and can work with any database that supports ODBC (both local - Access, Paradox, FoxPro - and corporate - oracle, Informix, Microsoft SQL Server, Interbase, etc.)
FastReport Studio includes everything you need to create cross-tab reports and reports with even the most complex charts, which are often needed in the decision-making process. You can also perform custom data handling, using powerful, built-in macro-language.
With FastReport Studio, you can view a report in the preview window, print it, export it to many supported formats (PDF, RTF, XLS, XML, HTML, JPG, BMP, GIF, TIFF, TXT, CSV, etc.), or email it. FastReport Studio includes a scheduler utility that allows you to run reports regularly, save them, and email them.
FastReport Studio contains detailed documentation and many examples of various reports. You can quickly learn the product's capabilities and immediately start creating reports. Using the built-in report wizard, you can easily create simple reports.
下载地址:http://www.fosoyo.com/article.asp?id=152