Using Notepad to conquer DataWindow

Source: Internet
Author: User
Tags format window

Powerbuilder Data window (DataWindow) is one of its great achievements. Use it to produce a variety of different types of reports. And the connection to various databases is also quite convenient.

But there are always imperfections in all things. When you have finished a beautiful report, sometimes the customer may propose some

formatting changes, like converting from one format to another (from tabular to grid, for example). This time,

you may have a headache, a DataWindow spent 3 hours, and another 3 hours if you do it again.

PowerBuilder itself does not provide this conversion ... ah, poor!

don't worry, there is a way, below provides a method to convert a data window from tabular format to grid format, only need 1 minutes!


has a ready-made tabular type of DataWindow (D_test_init)

found it in the library, right click on export


into a text file (D_TEST_INIT.SRD)


Open it (you can use Notepad, or you can powerbuilder the Edit tool provided.)

Wonderful World is in sight!


the high brightness part to processing=1

then save the disk.


again find the library where d_test_init is stored. Right-click Import ...


Choose the SRD file that you just filed. Then import it in.


open it again, the Data window becomes the grid type!




above is just a small example, in fact, through the direct operation of SRD files, you can quickly complete a lot of difficult work, you can even modify the SQL. By mastering its specific content, you can go deep into PowerBuilder's interior to find out.


good, let's get moving now!


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.