Difference between revisions of "Tabulation reset"

From Catglobe Wiki
Jump to: navigation, search
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{HelpFiles}}
 +
 +
==== Tabulation_reset  ====
 +
 +
Allow to create more than 1 report in tabulation script.
 +
 +
'''Syntax'''
 +
 
Tabulation_reset()  
 
Tabulation_reset()  
  
====Tabulation_reset====
+
'''Arguments'''
 +
 
 +
none
 +
 
 +
'''Return type'''
 +
 
 +
empty
  
More than 1 report were made in single script.
+
'''Examples'''
  
'''Syntax'''
+
''createCrossDiagram({"Sex"}, {"Civil_status"});''
  
Tabulation_reset()
+
''number reportUniqueId = Tabulation_saveAsReport("Test Tabulation_reset 28122011 - 01", 37088881, <nowiki>{{70479, "FullControl"}}</nowiki>, true);''
  
'''Arguments'''
+
''print(reportUniqueId);''
  
none
+
''//Result: Return Resource Id of the newly generated Report (e.g: 37282477) ''
  
'''Return type'''
+
''Tabulation_reset();''
  
empty
+
''createCrossDiagram({"Sex"}, {});''
  
'''Examples'''
+
''createCrossDiagram({}, {"Civil_status"});''
  
createFrequenceDiagram("- - Alder");
+
''reportUniqueId = Tabulation_saveAsReport("Test Tabulation_reset 28122011 - 02", 37088881, <nowiki>{{70479, "FullControl"}}</nowiki>, true);''
...
 
Tabulation_saveAsReport(...);
 
  
Tabulation_reset();
+
''print(reportUniqueId);''
  
createCrossDiagram({"- - Alder"},{"- - Region"});
+
''//Result: Return Resource Id of the newly generated Report (e.g: 37282481) ''
...
 
Tabulation_saveAsReport(...);
 
  
'''Availability'''
+
'''Availability'''  
  
Version 5.8.1
+
Version 5.8.1  
  
 
[[Category:Diagram/report_generating_CGScript_functions]]
 
[[Category:Diagram/report_generating_CGScript_functions]]

Latest revision as of 10:15, 28 December 2011


Tabulation_reset

Allow to create more than 1 report in tabulation script.

Syntax

Tabulation_reset()

Arguments

none

Return type

empty

Examples

createCrossDiagram({"Sex"}, {"Civil_status"});

number reportUniqueId = Tabulation_saveAsReport("Test Tabulation_reset 28122011 - 01", 37088881, {{70479, "FullControl"}}, true);

print(reportUniqueId);

//Result: Return Resource Id of the newly generated Report (e.g: 37282477)

Tabulation_reset();

createCrossDiagram({"Sex"}, {});

createCrossDiagram({}, {"Civil_status"});

reportUniqueId = Tabulation_saveAsReport("Test Tabulation_reset 28122011 - 02", 37088881, {{70479, "FullControl"}}, true);

print(reportUniqueId);

//Result: Return Resource Id of the newly generated Report (e.g: 37282481)

Availability

Version 5.8.1