Hyderabad Jobs Book Website FREE PowerBuilder Training I Love Hyderabad Hyderabad Colleges
Home Business Emails Hyderabad Classifieds Contact Us
7 Wonders of Hyderabad Web Hosting Yellow Pages Our Network

 
Webpowerbuilder.hyderabad-colleges.com

Introduction to PowerBuilder

HomePrevious Lesson: Graph Presentation Style
Next Lesson: Nested Reports

Composite Presentation Style

A Composite presentation style allows you to design a DataWindow using multiple existing DataWindows. Till PowerBuilder version 4.0, it was difficult to print two DataWindows side-by-side. This presentation style is a solution for that problem. Let's create a DataWindow to display
Product details for product number 1 from "product_master" table.
All transactions for product number 1 from "trans" table.

Actually this can be done with a SQL join and a single DataWindow.  Presentation becomes a problem. To overcome that, create a freeform presentation style DataWindow for "product_master". Select all columns for product_no 1. Save this DataWindow as "d_product_master_test". Create a tabular DataWindow using "trans" table, select all columns from the table for tran_item_no 1. Save this DataWindow as "d_trans_test".

Invoke the DataWindow painter and select "Composite" presentation style and click OK button. Here, data source cannot be selected. PowerBuilder prompts you for DataWindows. Select "d_product_master_test" and "d_trans_test" in the same order. It would look like:

HomePrevious Lesson: Graph Presentation Style
Next Lesson: Nested Reports

Copyright © 1996 - 2006 HamaraShehar.com Pvt. Ltd. All Rights Reserved.
Domain Registration, Website Design, Website Hosting by HamaraShehar.com