Chapter 17 Piping Data Between Data Sources – PB Docs 100
Chapter 17 Piping Data Between Data Sources About this chapter This chapter tells you how you can use a Pipeline object in your application to pipe data from one or more source tables to a new or existing destination table. Contents Topic About data pipelines Building the objects you need Performing some initial housekeeping Starting…
Building the objects you need – PB Docs 100
Building the objects you need To implement data piping in an application, you need to build a few different objects: A Pipeline object A supporting user object A window Building a Pipeline object You must build a Pipeline object to specify the data definition and access aspects of the pipeline that you want your application…
Performing some initial housekeeping – PB Docs 100
Performing some initial housekeeping Now that you have the basic objects you need, you are ready to start writing code to make your pipeline work in the application. To begin, you must take care of some setup chores that will prepare the application to handle pipeline execution. To get the application ready for pipeline execution:…
Using rich text in an application – PB Docs 100
Using rich text in an application Rich text format (RTF) is a standard for specifying formatting instructions and document content in a single ASCII document. An editor that supports rich text format interprets the formatting instructions and displays the text with formatting. In an application, you may want to: Provide a window for preparing rich…
Using a RichText DataWindow object – PB Docs 100
Using a RichText DataWindow object This section discusses: How scrolling differs from other DataWindow styles Problems you may encounter with default values for new rows What happens when the user makes changes Scrolling In a RichText DataWindow object, the rich text can consist of more than one page. A row of data can be associated…
Using a RichTextEdit control – PB Docs 100
Using a RichTextEdit control A RichTextEdit control in a window or user object lets the user view or edit formatted text. Functions allow you to manipulate the contents of the control by inserting text, getting the selected text, managing input fields, and setting properties for all or some of the contents. You define RichTextEdit controls…
Starting the pipeline – PB Docs 100
Starting the pipeline With the setup chores taken care of, you can now start the execution of your pipeline. To start pipeline execution: Code the Start function in an appropriate script. In this function, you specify: The Transaction object for the source database The Transaction object for the destination database The DataWindow control in which…
PBDOM node objects – PB Docs 100
PBDOM node objects This section describes the PBDOM_OBJECT class and all of the classes that descend from it: PBDOM_OBJECT PBDOM_DOCUMENT PBDOM_DOCTYPE PBDOM_ELEMENT PBDOM_ATTRIBUTE PBDOM_ENTITYREFERENCE PBDOM_CHARACTERDATA PBDOM_TEXT PBDOM_CDATA PBDOM_COMMENT PBDOM_PROCESSINGINSTRUCTION For detailed descriptions of PBDOM class methods, see the PowerBuilder Extension Reference. PBDOM_OBJECT The PBDOM_OBJECT class represents any node in an XML node tree and serves…
Terminology review – PB Docs 100
Terminology review Classes, properties, and methods In object-oriented programming, you create reusable classes to perform application processing. These classes include properties and methods that define the class’s behavior. To perform application processing, you create instances of these classes. PowerBuilder implements these concepts as follows: Classes PowerBuilder objects (such as windows, menus, window controls, and user…
Adding pbdom100.pbd to the library search path – PB Docs 100
Adding pbdom100.pbd to the library search path The PBDOM classes are implemented in a DLL file, pbdom100.pbx. To use the classes in a PowerBuilder application, you must place pbdom100.pbx in the application’s path, and add the pbdom100.pbd file to the application’s library search path. The PBD acts as a wrapper for the DLL, enabling the…