Páginas

domingo, 16 de agosto de 2020

DICAS 3029 - WINDEV TUTORIAL 52 - IMPRIMIR PEDIDO - CRIAR O RELATORIO BASE QUERY - PARTE B



https://youtu.be/xwouULV7GSc


Bom Dia/Boa Tarde/Boa Noite

https://youtu.be/xwouULV7GSc

Esse Ao Vivo vai estrear as 14:00 do dia 27/08/2020 

DICAS 3029 - WINDEV TUTORIAL 52 - IMPRIMIR PEDIDO - CRIAR O RELATORIO BASE QUERY - PARTE B
Tutoriel WINDEV : Leçon 4.6.b. Imprimer une commande - Création de l'état basé sur une requête

ASSUNTOS

Explicando o Relatorio 
GERANDO O RELATORIO EM CIMA QUERY 
ESCOLHENDO A QUERY 
ESCOLHENDO O BLOCO ONDE VAI CADA LINHA 
   ( ISSO TOP DEMAIS )
EXPLICANDO A PARTE DOS TOTALIZADORES
      

Video original da Franca

Playlist Windev TUTORIAL












Creating the report based on a query

  • To create a report:
    1. Click Creating an element among the quick access buttons.
    2. The element creation window appears: click "Report" then "Report". The report creation wizard starts.
    3. The report creation wizard proposes several types of reports:
      Report creation wizard - Type of report
    4. Select "Table". Go to the next step.
    5. Select the data source of report. The report will be based on the query that was just created. Select "From a data file or from an existing query".
      Report creation wizard - Data source
      Go to the next step.
    6. In the list of data files and queries, select the "QRY_OrderForm" query. Go to the next step.
    7. The wizard asks you to specify whether a break is required. No break will be used in this report. This concept will be presented later in this tutorial. Answer "No". Go to the next step.
    8. You are going to specify the order in which the items will be printed and how they will be distributed in the different blocks. In the wizard, the items are listed according to the order defined in the query:
      • The items regarding the customer will be displayed in the "Page header" block. Indeed, this information must not be repeated on each order line.
        For the FullName, Address, ZipCode, City and Country items, click the line corresponding to the item. In the "Block" column, expand the combo box and select "Page header".
        Items to display
      • The items regarding the order will also be displayed in the "Page header" block. Indeed, this information must not be repeated on each order line. For the OrdersID and Date items, click the line corresponding to the item. In the "Block" column, expand the combo box and select "Page header".
      • Furthermore, we are going to modify the caption of "OrdersID" item.
        • Select the line containing the OrdersID item.
        • Click the Caption column and type "Order #".
          Modifying the caption
        • The items regarding the order lines will be displayed in the report body. These items will be displayed for all the order lines.
      • The items regarding the order totals will be displayed in the page footer. Indeed, this information must not be repeated on each order line. For the TotalBT_Or and TotalIOT items, click the line corresponding to the item. In the "Block" column, expand the combo box and select "Page footer".
        Display blocks
        The following table presents the different assignments of items in the order presented in the wizard:
        ItemBlock
        FullNamePage header
        AddressPage header
        ZipCodePage header
        CityPage header
        CountryPage header
        OrdersIDPage header
        DatePage header
        ReferenceBody
        CaptionBody
        PriceBTBody
        QuantityBody
        TotalBTBody
        TotalBT_OrPage footer
        TotalIOTPage footer
    9. Go to the next step.
    10. The wizard proposes to create a counter, a sum or an average on the numeric items found in the report. In this report, the calculations are performed by the query. Click the "No calculation" button. Go to the next step.
    11. This step is used to define the report layout.
      Report creation wizard - Paper format
      We will keep the default values with the "Portrait" orientation.

      Remark

      Print margins
      When choosing the print margins, don't forget to take into account the physical margins of printers. The physical margins of printers are margins where no print is allowed. Furthermore, the physical margins differ according to the type of printer.
    12. Go to the next step.
    13. This step allows you to select the skin template used for the report. We recommend that you use the same skin template as the one used for the windows. In our case, select the "Phoenix" skin template for example and go to the next step.
    14. All we have to do now is give a name and a title to the report.
      • Type the title : "Order form".
      • The "RPT_Order_form" name is automatically proposed.
        Report creation wizard - Name of report

        Express

        The option "Report modifiable in Reports and Queries" is not available in the Express version.
    15. Validate ("Finish").
    16. The report being too large to be printed in Portrait mode, the report editor proposes to use the landscape mode, to reduce the table or to print the table on several pages. In our case, accept the landscape mode.
    17. Accept to reduce the table if necessary.
    18. The window for saving the report is displayed. Validate the save information.
    19. The report is displayed in edit in the report editor:
      Report editor
    20. The different order lines are grouped in a table.
  • Run this report by clicking Run the element test among the quick access buttons.
    1. The report editor asks for the print destination. The print destination can be:
      Choose print mode
      Select "Report viewer" and validate.
    2. The report editor asks for the parameters of query used by the report. Don't forget that a parameter was used to specify the number of the order to print. For the example, type the test value "1".
      Query parameters
      Validate.
    3. The report is displayed as requested in the report viewer.
      Report test
      You can:
      • Print the current page or the entire document by clicking the printer.
      • Create a duplicate copy.
      • Select a different zoom value.
      • Save the report as a Word document (in RTF format).
      • Save the report in HTML format.
      • Save the report in PDF format.
      • Save the report in XML format.
      • Create an email with the report in HTML format in message body.
      • Create an email with the report in PDF format in attachment.
      • Annotate in the document.
      • Perform a search in a document.
      • Add watermarks.


    DICAS 2978 - WINDEV TUTORIAL 1 - 1.1B - WINDEV TEMA ESCURO E IDIOMA DO AMBIENTE
    DICAS 2979 - WINDEV TUTORIAL 2 - 1.2- CRIAR JANELA E INSERIR TEXTO E EXIBIR
    DICAS 2980 - WINDEV TUTORIAL 3 - 2.1- VARIAVEIS PARTE 1
    DICAS 2981 - WINDEV TUTORIAL 4 - 2.2- VARIAVEIS ESCOPO - PARTE 2
    DICAS 2982 - WINDEV TUTORIAL 5 - 2.1- VARIAVEIS OPERADORES PARTE 3
    DICAS 2983 - WINDEV TUTORIAL 6 - 2.1.D - VARIAVEIS STRINGS PARTE 4
    DICAS 2984 - WINDEV TUTORIAL 7 - 2.1.E - VARIAVEIS ARRAYS PARTE 5
    DICAS 2985 - WINDEV TUTORIAL 8 - 2.2.A - CONDICOES IF-SWITCH PARTE 1
    DICAS 2986 - WINDEV TUTORIAL 9 - 2.2.B - CONDICOES PARTE 2
    DICAS 2987 - WINDEV TUTORIAL 10 - 2.3.A - LOOP PARTE 1
    DICAS 2988 - WINDEV TUTORIAL 11 - 2.3.B - LOOP EXEMPLOS PARTE 2
    DICAS 2989 - WINDEV TUTORIAL 12 - Lesson 2.4. The procedures - PARTE 1
    DICAS 2990 - WINDEV TUTORIAL 13 - Leçon 2.4.b. Procedures Parametros - PARTE 2
    DICAS 2991 - WINDEV TUTORIAL 14 - PROCEDURES REFERENCIA - PARTE 3
    DICAS 2992 - WINDEV TUTORIAL 15 - PROCEDURES OPCIONAIS OU OBRIGATORIAS - PARTE 4
    DICAS 2993 - WINDEV TUTORIAL 16 - PROCEDURES EXEMPLOS - PARTE 5
    DICAS 2994 - WINDEV TUTORIAL 17 - PERGUNTAS E RESPOSTA - PARTE 1
    DICAS 2995 - WINDEV TUTORIAL 18 - PERGUNTAS E RESPOSTA - PARTE 2
    DICAS 2996 - WINDEV TUTORIAL 19 - WINDEV E OS BANCOS DE DADOS
    DICAS 2997 - WINDEV TUTORIAL 20 - PROJETO E ANALISE - CRIACAO
    DICAS 2998 - WINDEV TUTORIAL 21 - PROJETO E ANALISE - ARQUIVOS DADOS CLIENTE - PARTE 2
    DICAS 2999 - WINDEV TUTORIAL 22 - PROJETO E ANALISE - ARQUIVOS DADOS CRIACAO ARQUIVO PEDIDO - PARTE 3
    DICAS 3000 - WINDEV TUTORIAL 23 - PROJETO E ANALISE - IMPORTANDO CVS-ARQUIVO TEXTO - PARTE 4
    DICAS 3001 - WINDEV TUTORIAL 24 - PROJETO E ANALISE - IMPORTANDO ARQUIVO PRODUTO - PARTE 5
    DICAS 3002 - WINDEV TUTORIAL 25 - PROJETO E ANALISE - LINK - PARTE 6
    DICAS 3003 - WINDEV TUTORIAL 26 - RAD COMPLETO
    DICAS 3004 - WINDEV TUTORIAL 27 - VISAO GERAL
    DICAS 3005 - WINDEV TUTORIAL 28 - Adicionar e Modificar Janelas PRODUTOS - PARTE A
    DICAS 3006 - WINDEV TUTORIAL 29 - Adicionar e Modificar Janelas PRODUTOS Formulario - PARTE B
    DICAS 3007 - WINDEV TUTORIAL 30 - Adicionar e Modificar Janelas PRODUTOS ALINHAR CAMPOS - PARTE C




    Nenhum comentário:

    Postar um comentário