OLE controls and insertable objects – PB Docs 115
OLE controls and insertable objects The OLE control contains an insertable OLE object. You can change the object in the control in the painter or in a script. You specify what is allowed in the control by setting PowerBuilder properties. Setting up the OLE control When you create an OLE control and insert an object,…
Application Object Type – PB Docs 125
Application Object Type The following categories of information can be displayed in the Paste Value box: Application properties External functions declared in the application Functions you can use in scripts for the application object The object name of the application Instance and shared variables declared for the application Structures declared for the application Document get…
Creating and opening workspaces – PB Docs 126
Creating and opening workspaces Before you can begin any development in PowerBuilder, you need to create or open a workspace. Document get from Powerbuilder help Thank you for watching.
Datatype promotion when evaluating numeric expressions – PB Docs 150
Datatype promotion when evaluating numeric expressions Order of precedence The PowerBuilder numeric datatypes are listed here in order of highest to lowest precedence (the order is based on the range of values for each datatype): Double Real Decimal LongLong UnsignedLong Long UnsignedInteger Integer Byte Rules for type promotion Datatypes of operands If operands in an…
About database connections – PB Docs 70
About database connections This section gives an overview of when database connections occur in PowerBuilder. It also tells why you should use database profiles to manage your database connections. When database connections occur Connections in PowerBuilder PowerBuilder connects to your database when you: Open a painter that accesses the database Compile or save a PowerBuilder…
Starting the pipeline – PB Docs 115
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…
Properties for .NET Assembly project: Library Files tab – PB Docs 125
Properties for .NET Assembly project: Library Files tab Description Specify dynamic library files that contain resources required by the deployed assembly. Options Win32 dynamic library files Click the Add button to browse to any dynamic library files (DLLs) required by your assembly component. Document get from Powerbuilder help Thank you for watching.
Executing SQL – PB Docs 126
Executing SQL When you have the SQL statements you want in the workspace, you can submit them to the DBMS. To execute the SQL: Click the Execute button, or select Design>Execute SQL from the menu bar. If the SQL retrieves data, the data appears in grid format in the Results view. If there is a…
FileSeek – PB Docs 150
FileSeek PowerScript function Description Moves the file pointer to the specified position in a file whose size does not exceed 2GB. The file pointer is the position in the file at which the next read or write begins. Syntax
1 |
<span>FileSeek</span> ( <span>file#</span>, <span>position</span>, <span>origin</span> ) |
Argument Description file# The integer assigned to the file when it was opened. position A…
Using toolbars – PB Docs 70
Using toolbars Toolbars provide buttons for the most common tasks in PowerBuilder. You can move (dock) toolbars, customize them, and create your own. Toolbar basics PowerBuilder uses three toolbars: the PowerBar, PainterBar, and StyleBar: This toolbar Has buttons for And (unless hidden) displays PowerBar Opening painters and tools Always PainterBar Performing tasks in the current…