Changes

Jump to: navigation, search

Exporting Reports

500 bytes added, 19:18, 18 February 2020
Export to XML
<pre>
<!--?xml version="1.0" encoding="ISO-8859-1"?-->{BREAK}
<details>{BREAK}
</pre>
 
 
<details>{BREAK} </details>
 
 
 
 
 
 
2. In the '''Detail''' section add the child elements, in the sample below the child is ''employee'' with subchildren ''firstname'', ''lastname'', ''salary'' and ''startdate''.
The {TAB}s and {BREAK}s will give the XML document proper indentation:
<pre>{TAB}<employee>{BREAK}{TAB}{TAB}<firstname>@Users - First name@</firstname>{BREAK}{TAB}{TAB}<lastname>@Users - Last name@</lastname>{BREAK}{TAB}{TAB}<salary>@Users - Salary@</salary>{BREAK}{TAB}{TAB}<startdate>@Users - Start Date@</startdate>{BREAK}{TAB}</employee>{BREAK}
</pre>
3. In the '''Footer''' section, close the root element:
<pre> </details>  </pre>
4. The Export XML document opened in Notepad:
<pre>
<?xml version="1.0" encoding="ISO-8859-1"?>
<details> <employee> <detailsfirstname> Peter </firstname> <lastname>Jahl </lastname> <salary>25000 </salary> <startdate>11/05/2003 </startdate> </employee> <employee> <firstname>Herry </firstname> <lastname>Lee </lastname> <salary>55000 </salary> <startdate>27/02/2005 </startdate> </employee> <employee> <firstname>Peter </firstname> <lastname>Manlee </lastname> <salary>75000 </salary> <startdate>12/05/2001 </detailsstartdate> </employee></details></pre>
==Exporting with Subreports==
Smartstaff
1,385
edits

Navigation menu