Download presentation
Presentation is loading. Please wait.
Published byTheodora Ward Modified over 9 years ago
1
PowerBuilder Online Courses - by Prasad Bodepudi
DataWindow Painter DataWindow Painter/Control Data Sources Presentation Styles DataWindow Options PowerBuilder Online Courses - by Prasad Bodepudi
2
PowerBuilder Online Courses
DataWindow Painter DataWindow Painter/Control DataWindow painter allows creating DataWindow objects. DataWindow control acts as a container to the DataWindow object. DataWindow object contains data source definition and presentation details. Functions/Scripts are written to the DataWindow control. PowerBuilder Online Courses
3
PowerBuilder Online Courses - by Prasad Bodepudi
DataWindow Painter DataWindow Painter/Control Data Sources Presentation Styles DataWindow Options PowerBuilder Online Courses - by Prasad Bodepudi
4
PowerBuilder Online Courses
DataWindow Painter Data Source Quick Select SQL Select Query External Stored Procedure PowerBuilder Online Courses
5
PowerBuilder Online Courses
DataWindow Painter Quick Select Allows defining data source quickly for a single or multiple tables that have relation. Rarely used data source. PowerBuilder Online Courses
6
PowerBuilder Online Courses
DataWindow Painter SQL Select Allows defining complex SQL statements. Most widely used data source. Allows WHERE, ORDER BY, GROUP BY, HAVING clauses. Allows Computed Columns, Retrieval arguments, UNIONs. Can convert to Syntax mode. PowerBuilder Online Courses
7
PowerBuilder Online Courses
DataWindow Painter Query as Data Source Allows using a defined query as a data source. After definition, it is similar to the SQL Select data source. The Query and DataWindow data source are not dynamically linked, the query is copied to the DataWindow definition. PowerBuilder Online Courses
8
PowerBuilder Online Courses
DataWindow Painter External Data Source Allows you to take advantage of DataWindow’s powerful features --such as sort, filter, find, print preview, print, data sharing, presentation styles, etc. without using database as a data source. PowerBuilder Online Courses
9
PowerBuilder Online Courses
DataWindow Painter Stored Procedure as Data Source Most widely used data source with SQL Server. Reduces network traffic, improves performance. DataWindow can’t handle multiple result sets, return status, OUTPUT parameters. DataWindows are not updatable by default. Feature not available in desktop editions. PowerBuilder Online Courses
10
PowerBuilder Online Courses - by Prasad Bodepudi
DataWindow Painter DataWindow Painter/Control Data Sources Presentation Styles DataWindow Options PowerBuilder Online Courses - by Prasad Bodepudi
11
PowerBuilder Online Courses
DataWindow Painter Presentation Styles Free Form Tabular Grid Label N-Up Crosstab Graph RichTextEdit Composite OLE PowerBuilder Online Courses
12
PowerBuilder Online Courses
DataWindow Painter Free Form Presentation Style All data is placed in the detail band. Looks similar to a form and is good for data entry and queries. Labels are placed left side to the fields. PowerBuilder Online Courses
13
PowerBuilder Online Courses
DataWindow Painter Tabular Presentation Style Data is placed in the detail band and headings are in the header band. Labels are not used, instead headings are used. Each record occupies one line. Good for displaying long record reports. PowerBuilder Online Courses
14
PowerBuilder Online Courses
DataWindow Painter Grid Presentation Style Provides spreadsheet like interface. At run-time, columns can be moved/ resized by the user. Behaves like tabular style when grid is turned off. Fields can’t be moved at painting time in the design view. PowerBuilder Online Courses
15
PowerBuilder Online Courses
DataWindow Painter Label Presentation Style Good to generate labels. Labels can be customized. PowerBuilder Online Courses
16
PowerBuilder Online Courses
DataWindow Painter N-Up Presentation Style Provides news paper/telephone directory like interface. Allows good space utilization while printing few fields. PowerBuilder Online Courses
17
PowerBuilder Online Courses
DataWindow Painter Crosstab Presentation Style Provides two-dimensional spreadsheet like interface. Reduces 100s of lines of coding. Can create columns dynamically on the fly. One of the great report style that no other tool provides. External Data Source can’t be used. PowerBuilder Online Courses
18
PowerBuilder Online Courses
DataWindow Painter Graph Presentation Style Presents data in graphical format with no or very little programming. Supports bar, column, stack, area, pie, time graphs. Supports 2D and 3D graphs. PowerBuilder Online Courses
19
PowerBuilder Online Courses
DataWindow Painter RichTextEdit Presentation Style Displays data in rich text format including different font attributes for each letter or word --such as bold, italic, strike, underline, font, color. It also includes special characters such as tabs, new line, etc. Supports toolbar, popup menu. Reads/ Saves in RTF format. Not supported in distributed computing. PowerBuilder Online Courses
20
PowerBuilder Online Courses
DataWindow Painter Composite Presentation Style Allows to create a DataWindow using two DataWindows objects. DataWindow is not updatable. Useful when two reports are related. Good for printing two reports side by side or a report followed another with no extra pages. PowerBuilder Online Courses
21
PowerBuilder Online Courses
DataWindow Painter OLE Presentation Style Displays data using any OLE 2.0 server. OLE 2.0 presentation style DataWindow is not updatable. PowerBuilder Online Courses
22
PowerBuilder Online Courses - by Prasad Bodepudi
DataWindow Painter DataWindow Painter/Control Data Sources Presentation Styles DataWindow Options PowerBuilder Online Courses - by Prasad Bodepudi
23
PowerBuilder Online Courses
DataWindow Painter DataWindow Options Retrieve As Only Needed Retain Data Auto Size Height Suppress Repeating Values Validation Rule Initial Values PowerBuilder Online Courses
24
PowerBuilder Online Courses
DataWindow Painter Retrieve As Only Needed Useful to simulate quick response queries. Retrieves only those rows that fit in the DataWindow control at a time. Holds up lot of resources on the server side and might be a bottle-neck for performance. PowerBuilder Online Courses
25
PowerBuilder Online Courses
DataWindow Painter Retain Data Can store data as part of the DataWindow definition in the library painter. Displays the stored data without issuing Retrieve(). Useful for prototype applications. PowerBuilder Online Courses
26
PowerBuilder Online Courses
DataWindow Painter Auto Size Height Option Adjusts the row size automatically depending on the data. Good feature to save a lot of space in reports. The detail band set to ‘Auto Size Height’ when a nested DataWindow object is inserted in the detail band. PowerBuilder Online Courses
27
PowerBuilder Online Courses
DataWindow Painter Suppress Repeating Values Suppresses repeating values of the specified fields. Gives ‘Group’ presentation style affect without using ‘Group’ presentation style. Does not affect DataWindow update properties. PowerBuilder Online Courses
28
PowerBuilder Online Courses
DataWindow Painter Validation Rules If defined in extended attributes, validation rule is imported into DataWindow automatically. Can be defined for each DataWindow field. Any DataWindow painter function, user-defined function can be used. Datatype is automatically converted in comparisons, if not converted. Has no relation with the server-side rules. PowerBuilder Online Courses
29
PowerBuilder Online Courses
DataWindow Painter Initial Values If defined in extended attributes, initial value is imported into DataWindow automatically. Can be specified for each DataWindow field. Has no relation with the server-side initial value. PowerBuilder Online Courses
30
PowerBuilder Online Courses - by Prasad Bodepudi
DataWindow Painter DataWindow Painter/Control Data Sources Presentation Styles DataWindow Options Questions? Drop an at The End PowerBuilder Online Courses - by Prasad Bodepudi
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.