Rave Reports
Eu sou um cara bitolado em Quick Report.
Até fiz a instalação dele no Delphi 7.
Quero saber dos amigos se o componente Rave Reports é a melhor ferramenta para gerar relatório, hj em dia, no delphi.
Estou tentando usa-lo, mas to encontrando dificuldades para fazer o basico.
Até to pensando em fazer um curso sobre....
Aceito sugestões...
Flw
Até fiz a instalação dele no Delphi 7.
Quero saber dos amigos se o componente Rave Reports é a melhor ferramenta para gerar relatório, hj em dia, no delphi.
Estou tentando usa-lo, mas to encontrando dificuldades para fazer o basico.
Até to pensando em fazer um curso sobre....
Aceito sugestões...
Flw
Arc
Curtidas 0
Respostas
Rp
14/12/2004
eu tambem estava na mesma situacao que voce, parece-me que o quck report sumiu no delphi 7, daí fui obrigado a me virar com o rave...
bem, ate agora, so aprendi o basico do basico mesmo...
faca o seguinte --> tem um help no delphi que ajuda vc a criar um relatorio basico mesmo :
´
You can use Rave Reports in both VCL and CLX applications to generate reports from database and non-database data. The following procedure explains how to add a simple report to an existing database application.
1Open a database application in Delphi.
2From the Rave page of the Component palette, add the TRvDataSetConnection component to a form in the application.
3In the Object Inspector, set the DataSet property to a dataset component that is already defined in your application.
4Use the Rave Visual Designer to design your report and create a report project file (.rav file).
Choose Tools|Rave Designer to launch the Rave Visual Designer.
Choose File|New Data Object to display the Data Connections dialog box.
In the Data Object Type list, select Direct Data View and click Next.
In the Active Data Connections list, select RVDataSetConnection1 and click Finish.
In the Project Tree on the left side of the Rave Visual Designer window, expand the Data View Dictionary node, then expand the newly created DataView1 node. Your application data fields are displayed under the DataView1 node.
Choose Tools|Report Wizards|Simple Table to display the Simple Table wizard.
Select DataView1 and click Next.
Select two or three fields that you want to display in the report and click Next.
Follow the prompts on the subsequent wizard pages to set the order of the fields, margins, heading text, and fonts to be used in the report.
On the final wizard page, click Generate to complete the wizard and display the report in the Page Designer.
Choose File|Save as to display the Save As dialog box. Navigate to the directory in which your Delphi application is located and save the Rave project file as MyRave.rav.
Minimize the Rave Visual Designer window and return to Delphi.
5From the Rave page of the Component palette, add the Rave project component, TRvProject, to the form.
6In the Object Inspector, set the ProjectFile property to the report project file (MyRave.rav) that you created in step j.
7From the Standard page of the Component palette, add the TButton component.
8In the Object Inspector, click the Events tab and double-click the OnClick event.
9Write an event handler that uses the ExecuteReport method to execute the Rave project component.
{ no clique do botão digite : RvProject1.Execute ; isso aqui nao ta no help }
10Press F9 to run the application.
11Click the button that you added in step 7.
12The Output Options dialog box is displayed. Click OK to display the report.
For a more information on using the Rave Visual Designer, use the Help menu or see the Rave Reports documentation listed in Getting more information. ´
É isso aí....
bem, ate agora, so aprendi o basico do basico mesmo...
faca o seguinte --> tem um help no delphi que ajuda vc a criar um relatorio basico mesmo :
´
You can use Rave Reports in both VCL and CLX applications to generate reports from database and non-database data. The following procedure explains how to add a simple report to an existing database application.
1Open a database application in Delphi.
2From the Rave page of the Component palette, add the TRvDataSetConnection component to a form in the application.
3In the Object Inspector, set the DataSet property to a dataset component that is already defined in your application.
4Use the Rave Visual Designer to design your report and create a report project file (.rav file).
Choose Tools|Rave Designer to launch the Rave Visual Designer.
Choose File|New Data Object to display the Data Connections dialog box.
In the Data Object Type list, select Direct Data View and click Next.
In the Active Data Connections list, select RVDataSetConnection1 and click Finish.
In the Project Tree on the left side of the Rave Visual Designer window, expand the Data View Dictionary node, then expand the newly created DataView1 node. Your application data fields are displayed under the DataView1 node.
Choose Tools|Report Wizards|Simple Table to display the Simple Table wizard.
Select DataView1 and click Next.
Select two or three fields that you want to display in the report and click Next.
Follow the prompts on the subsequent wizard pages to set the order of the fields, margins, heading text, and fonts to be used in the report.
On the final wizard page, click Generate to complete the wizard and display the report in the Page Designer.
Choose File|Save as to display the Save As dialog box. Navigate to the directory in which your Delphi application is located and save the Rave project file as MyRave.rav.
Minimize the Rave Visual Designer window and return to Delphi.
5From the Rave page of the Component palette, add the Rave project component, TRvProject, to the form.
6In the Object Inspector, set the ProjectFile property to the report project file (MyRave.rav) that you created in step j.
7From the Standard page of the Component palette, add the TButton component.
8In the Object Inspector, click the Events tab and double-click the OnClick event.
9Write an event handler that uses the ExecuteReport method to execute the Rave project component.
{ no clique do botão digite : RvProject1.Execute ; isso aqui nao ta no help }
10Press F9 to run the application.
11Click the button that you added in step 7.
12The Output Options dialog box is displayed. Click OK to display the report.
For a more information on using the Rave Visual Designer, use the Help menu or see the Rave Reports documentation listed in Getting more information. ´
É isso aí....
GOSTEI 0
H1b3rt0
14/12/2004
:arrow: No site www.delphi.eti.br tem uma apostila basica de rave, basica mas muito funcional
valeu...
valeu...
GOSTEI 0