Rebuilding workspaces and targets – PB Docs 115
Rebuilding workspaces and targets When you make modifications to a target and need to update one or more libraries, you should use a rebuild option to update all the library objects in the correct sequence. Working with targets To see the pop-up menu that lets you perform operations on a target such as search, build,…
Chapter 10 Working with Structures – PB Docs 115
Chapter 10 Working with Structures About this chapter This chapter describes how to build and use structures. Contents Topic About structures Defining structures Modifying structures Using structures Document get from Powerbuilder help Thank you for watching.
Defining user events – PB Docs 115
Defining user events In PowerBuilder, you can define both mapped and unmapped user events for windows, user objects, controls, menus, and the Application object. When you add a new event, a Prototype window displays above the script area in the Script view. Most of the fields in the Prototype window are the same as when…
Exporting to XML – PB Docs 115
Exporting to XML You can export the data in a DataWindow or DataStore object to XML using any of the techniques used for exporting to other formats such as PSR or HTML: Using the SaveAs method:
|
1 |
ds1.SaveAs("C:TEMPTemp.xml", Xml!, true) |
Using PowerScript dot notation or the Describe method:
|
1 |
ls_xmlstring = dw1.Object.DataWindow.Data.XML ls_xmlstring = dw1.Describe(DataWindow.Data.XML) |
Using the Save Rows As menu item in the…
About crosstabs – PB Docs 115
About crosstabs Cross tabulation is a useful technique for analyzing data. By presenting data in a spreadsheet-like grid, a crosstab lets users view summary data instead of a long series of rows and columns. For example, in a sales application you might want to summarize the quarterly unit sales of each product. In PowerBuilder, you…
Formatting keys and toolbars – PB Docs 115
Formatting keys and toolbars When the toolbar is visible, you can use its buttons to format text. The changes you make in preview are temporary. The keystrokes listed in the following tables also assign formatting to selected text. Keyboard shortcuts do not work in the painter These keystrokes work only when you are running the…
Building components, proxies, and .NET targets – PB Docs 115
Building components, proxies, and .NET targets The Project painter workspace for executable applications is shown in “Defining an executable application project”. It contains a tab control, and on each tab page there are text boxes and radio buttons you use to specify the characteristics of your executable file and dynamic libraries. The workspace for all…
Debugging an application – PB Docs 115
Debugging an application Sometimes an application does not behave the way you think it will. Perhaps a variable is not being assigned the value you expect, or a script does not perform as desired. In these situations, you can examine your application by running it in debug mode. When you run the application in debug…
Using Query – PB Docs 115
Using Query When you choose Query as the data source, you select a predefined SQL SELECT statement (a query) as specifying the data for your DataWindow object. To define the data using Query: While using any of the DataWindow wizards, click Query in the Choose Data Source dialog box, and click Next. The Select Query…
Using Stored Procedure – PB Docs 115
Using Stored Procedure A stored procedure is a set of precompiled and preoptimized SQL statements that performs some database operation. Stored procedures reside where the database resides, and you can access them as needed. Defining data using a stored procedure You can specify a stored procedure as the data source for a DataWindow object if…