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

Selecting templates at runtime – PB Docs 2021 – PowerBuilder Library

Selecting templates at runtime – PB Docs 2021

Selecting templates at runtime

Two DataWindow properties, Export.XML.TemplateCount and
Export.XML.Template[ ].Name, enable you to provide a list of templates
from which the user of the application can select at runtime.

The TemplateCount property gets the number of templates
associated with a DataWindow object. You can use this number as the
upper limit in a FOR loop that populates a drop-down list with the
template names. The FOR loop uses the Template[ ].Name
property.

Before generating the XML, set the export template using the
text in the drop-down list box.


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