![]() |
Page History
...
This page provides the following information:
Table of Contents | ||
---|---|---|
|
Get-data Macro
The general form is:
...
Code Block |
---|
{get-data:name=Group Name.Field Name|format=#,##0.00}Default value{get-data} |
The output of the
get |
---|
...
-data | ||||||
---|---|---|---|---|---|---|
| ||||||
Default value |
In this example, there is a date to get.
Code Block |
---|
{date-data:YearMonthDay|format=yyyy-MMM-dd}today{date-data}
{get-data:name=YearMonthDay|format=yyyy-MMM-dd}{get-data}
|
The date data macro establishes the date, initially today's
date |
---|
...
-data | ||||
---|---|---|---|---|
| ||||
today |
The date selected changes and the
get |
---|
...
-data | ||||||
---|---|---|---|---|---|---|
|
...
Get-data Macro Used with Repeating-data Macro
An example follows. In the edit view, the graphical plus sign was clicked twice to repeat the data.
Code Block |
---|
{repeating-data:MonthDayYear}
{date-data:YearMonthDay|format=yyyy-MMM-dd}today{date-data}
{repeating-data}
{get-data:name=YearMonthDay|format=yyyy-MMM-dd}{get-data}
|
...
Repeating Data | ||||
---|---|---|---|---|
| ||||
...
Get Data | ||||||
---|---|---|---|---|---|---|
|
...
Wiki Markup |
---|
{scrollbar:icons=false} |