manual_usuario:outros:formatadorrelatoriodesenv:fr_18_code_calculations_totals
Diferenças
Aqui você vê as diferenças entre duas revisões dessa página.
Próxima revisão | Revisão anterior | ||
manual_usuario:outros:formatadorrelatoriodesenv:fr_18_code_calculations_totals [2014/12/19 14:30] – criada administrador | manual_usuario:outros:formatadorrelatoriodesenv:fr_18_code_calculations_totals [2015/02/10 14:36] (atual) – Aprovado administrador | ||
---|---|---|---|
Linha 7: | Linha 7: | ||
- | =====TUTORIAL DE RELATÓRIOS - B - C===== | + | =====TUTORIAL DE RELATÓRIOS - Master / Detail |
---- | ---- | ||
- | 1. Select the vrItemTotal | + | 1. Selecione a variável |
- | 2. Select the Events tab of the Object Inspector. | + | 2. Selecione a guia Eventos do Object Inspector. |
- | 3. Double-click on the OnCalc | + | 3. Dê um duplo clique sobre o evento |
- | 4. Add the following code to this event handler: | + | 4. Adicione o seguinte código para este evento: |
Value := plItem[' | Value := plItem[' | ||
- | **Note:** This event handler retrieves the quantity and list price of the item and returns the total amount via the Value parameter. The result will become the value of the variable | + | **Nota:** Este evento recupera a quantidade e lista dos preços dos itens e retorna o valor total por meio do parâmetro |
- | 5. Return to the Report Designer | + | 5. Retorne ao Report Designer |
- | 6. Code the OnCalc | + | 6. Código do evento |
Value := Value + vrItemTotal.Value; | Value := Value + vrItemTotal.Value; | ||
- | **Note:** This event handler retrieves the current | + | **Nota:** Este evento recupera o total corrente para o item e adiciona à execução |
- | 7. Return to the Report Designer, | + | 7. Volte para o Report Designer, |
- | 8. Select 'GroupEnd' | + | 8. Selecione "GroupEnd 'para restabelecer a lista suspensa. Selecione |
- | **Note:** The Timing | + | **Nota:** O diálogo |
- | 9. Select | + | 9. Selecione "Project | Compile rbMDDProj". Corrigir quaisquer problemas de compilação. |
- | 10. Select File | Save from the Delphi main menu. | + | 10. Select |
manual_usuario/outros/formatadorrelatoriodesenv/fr_18_code_calculations_totals.1418999414.txt.gz · Última modificação: por administrador