Data source path syntax
In page stacking situations, you can refer to data sources in underlying pages by using data source path syntax.
Using this syntax, you have read-only access to data sources on previous pages and full read-write access to data sources on the current page.
Examples of valid references to data sources in underlying pages are:
Each occurrence of the combination ../ refers back one level deeper into the stack.
Each occurrence of / (forward slash not preceded by two period characters) refers forward to an embedded page or data source.
Name strings for pages and data sources are alphanumerical. They are case-sensitive. They may NOT be surrounded by single or double quotes. Name strings must appear EXACTLY as they appear in the Web Designer object tree views.
Spaces are allowed inside a name string (i.e., surrounded by alphanumeric characters). In this position they are a meaningful part of the name.
Spaces are allowed (but meaningless and never necessary) between delimiters (that is, ../ and / ) on the one hand, and name strings on the other.
To display in an alert box the value of the column C1 of the current record of data source DS on the previous page, write:
alert( $.udb("../DS").rows("current").cols("C1").val() )
To get the value of a column C1 in datasource DS on page E embedded in the same page as the current page, write:
alert( $.udb("E/DS").rows("current").cols("C1").val() )
For a tabular overview of syntax possibilities please go to Data Source Path Syntax Reference.