Powerbuilder Documentation 12.0

Powerbuilder Documentation 12.0

Regenerating library entries – PB Docs 120

Regenerating library entries Occasionally you may need to update library entries by regenerating, rebuilding, or migrating them. For example: When you modify an ancestor object, you can regenerate descendants so they pick up the revisions to their ancestor. When you make extensive changes to a target, you can rebuild entire libraries so objects are regenerated…

Using the ASA MobiLink synchronization wizard – PB Docs 120

Using the ASA MobiLink synchronization wizard About MobiLink MobiLink™ is a session-based synchronization system that allows two-way synchronization between a main database, called the consolidated database, and multiple remote databases. The ASA MobiLink Synchronization wizard on the Database tab of the New dialog box creates objects that facilitate control of database synchronization from a PowerBuilder…

Using inheritance to build user objects – PB Docs 120

Using inheritance to build user objects When you build a user object that inherits its definition (properties, events, functions, structures, variables, controls, and scripts) from an existing user object, you save coding time. All you must do is modify the inherited definition to meet the requirements of the current application. For example, suppose your application…

Using the Database painter – PB Docs 120

Using the Database painter To open the Database painter, click the Database button in the PowerBar. About the painter Like the other PowerBuilder painters, the Database painter contains a menu bar, customizable PainterBars, and several views. All database-related tasks that you can do in PowerBuilder can be done in the Database painter. Views in the…

Chapter 21 Controlling Updates in DataWindow Objects – PB Docs 120

Chapter 21 Controlling Updates in DataWindow Objects About this chapter When PowerBuilder generates the basic DataWindow object, it defines whether the data is updatable. This chapter describes the default settings and how you can modify them. Contents Topic About controlling updates Specifying the table to update Specifying the unique key columns Specifying an identity column…

Generating and saving a DataWindow object – PB Docs 120

Generating and saving a DataWindow object When you have finished interacting with the wizard, PowerBuilder generates the DataWindow object and opens the DataWindow painter. When generating the DataWindow object, PowerBuilder might use information from a set of tables called the extended attribute system tables. If this information is available, PowerBuilder uses it. About the extended…

Supplying property values – PB Docs 120

Supplying property values Each property has its own set of property values that you can use to specify the true and false conditions in the If expression. Usually you specify a number to indicate what you want. For example, if you are working with the Border property, you use the number 0, 1, 2, 3,…

Specifying the WHERE clause for update/delete – PB Docs 120

Specifying the WHERE clause for update/delete Sometimes multiple users are accessing the same tables at the same time. In these situations, you need to decide when to allow your application to update the database. If you allow your application to always update the database, it could overwrite changes made by other users: You can control…

Chapter 3 Dynamically Changing DataWindow Objects – PB Docs 120

Chapter 3 Dynamically Changing DataWindow Objects About this chapter This chapter describes how to modify and create DataWindow objects during execution. Contents Topic About dynamic DataWindow processing Modifying a DataWindow object Creating a DataWindow object Providing query ability to users Providing Help buttons Reusing a DataWindow object Document get from Powerbuilder help Thank you for…

Coding for the Web ActiveX – PB Docs 120

Coding for the Web ActiveX You can write scripts in the Web page to manipulate the DataWindow data and presentation. The methods and events are similar to those available in a standard DataWindow, but the events have been renamed to match JavaScript naming conventions. The properties, methods, and events—as well as the DataWindow object properties…