Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Creating templates – PB Docs 2021 – PowerBuilder Library

Creating templates – PB Docs 2021

Creating templates

To create a template, select the New menu item or the New
Default menu item from the pop-up menu in the Export/Import Template
view.

Creating new base
templates

The New menu item creates a template that is empty except for
the XML declaration, the root element, and the first element of the
row data section, referred to as the Detail Start element. The name of
the root element is the same as the name of the DataWindow object, and
the default name for the Detail Start element is the name of the root
element with _row appended.

For example, if the DataWindow object is named d_name, the
default template has this structure:

Creating new default
templates

The New Default menu item creates a template with the same
contents as the New menu item, as well as a flat structure of child
elements of the Detail Start element. A child element is created for
each DataWindow column name, in the order in which the columns appear
in the SELECT statement, with the exception of blob and computed
columns. The default tag for the element is the column’s name.

If the names of the column and the control are the same, the
content of the child element displays with a control reference icon.
If there is no control name that matches the column name, the content
of the child element displays using the DataWindow expression icon.
For example, consider a DataWindow object in which the dept_id column
is used as a retrieval argument and does not display:

xdw1.gif

The SQL syntax is:

In the default template, dept_id uses the DataWindow expression
icon. All the other columns used the column control reference
icon.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x