Sybase InfoMaker 11.5, CD, Win, ENG Spécifications Page 408

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 828
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 407
Exporting to XML
386 InfoMaker
For reports with more than one group, when you generate a new default
template, each group after the first is identified with a special icon and a check
on the pop-up menu next to the Starts Group Header item.
When the Iterate Header for Groups check box is selected, each XML fragment
in the header section between a Group Header element and the next Group
Header element or Detail Start element is iterated.
In the template shown in the previous illustration, sales are grouped by
customer ID, then by order ID. The customer group header has attributes for
the customer’s ID and first and last names. The order group header has
attributes for the order ID and date. The following illustration shows the report
in the Design view:
The following XML output shows the first iteration of the customer group
header and the first and second iterations of the order group header:
<?xml version="1.0" encoding="UTF-16LE" standalone="no"?>
<d_customer>
<customer id="101" fname="Michaels" lname="Devlin">
<order id="2001" date="1996-03-14">
<order_item>
<sales_order_items_line_id>1</sales_order_items_line_id>
<sales_order_items_prod_id>300</sales_order_items_prod_id>
<sales_order_items_quantity>12</sales_order_items_quantity>
Vue de la page 407
1 2 ... 403 404 405 406 407 408 409 410 411 412 413 ... 827 828

Commentaires sur ces manuels

Pas de commentaire