Use Notepad to overcome DataWindow

zhaozj2021-02-16  54

PowerBuildo's Data Window is a great achievement. Use it to make a variety of different types of reports. And the connection to various databases is also quite convenient.

However, everything is always imperfect. When you have completed a beautiful statement, sometimes customers may ask some

Modifications in formats, such as switching from a format to another (such as from Tabular to Grid). At this time,

You may take a headache, spend a DataWindow for 3 hours, if you re-work, take another 3 hours.

Powerbuilder does not provide this conversion .... Hey, bitter!

Don't worry, there is a way, let's provide a method to convert a data window from the Tabular format into a GRID format, just 1 minute!

There is a ready-made Tabular type DataWindow (D_Test_init) to find it in Library, right-click Open it (D_Test_init.srd) Open it (you can use NotePad, you can also provide the Edit tool provided by PowerBuilder.) Wonderful world is in front of you ! Send high-brightness part into processing = 1 and then store. Reset to the library stored in Library. Right click on Import ... Select the SRD file that just stores. Then put it import.

Open it again, the data window becomes a GRID type!

The above is just a small example, in fact by direct operation of the SRD file, you can quickly complete many of the very difficult tasks, you can even modify SQL. By mastering it, you can go deep into PowerBuilder's internal Go to an exploration.

Ok, let's start now!

转载请注明原文地址:https://www.9cbs.com/read-25335.html

New Post(0)