By Richard (Rik) Brooks  This article provides a means of automating the sorting of DataWindows... not just grid DataWindows as discussed in last month’s article, but all DataWindows, regardless of display format.
Bear in mind that we are writing programmer tools. When writing for programmers we want to give ... Feb. 3, 2012 12:00 PM EST Reads: 511 |
By Konstantin Goldobin  PowerBuilder has a very handy way to make data entry more convenient: the DropDownDataWindow and DropDownListBox edit styles for DataWindow columns. Indeed, it’s much simpler to pick up a value from a look-up list than to type it in each time you need to enter it. However, it looks lik... Jan. 13, 2012 09:30 AM EST Reads: 804 |
By Richard (Rik) Brooks  This article describes how to create a grid presentation window that allows sorting by clicking on the column header.
To begin we need to create a grid DataWindow. I’m selecting just few columns from the employee table. Here is my sql for the DataWindow in Figure 1.
Once we have crea... Jan. 12, 2012 10:30 AM EST Reads: 1,040 |
By Richard (Rik) Brooks  This is the third and final part of a series presenting a proposal for the use of the tag property of DataWindow columns. My original thought was to provide a means to automatically set a microhelp for each column. Of course, if you are using an MDI application you have a function to s... Jul. 19, 2011 12:15 PM EDT Reads: 1,671 |
By Frederick Koh  With all the attention in PB12 focused on .NET and WPF, some of you may be wondering about the future of Win32 targets in what is now being called PB Classic. Those hoping to still continue to work with Win32 targets in PB Classic can rest assured, PB Classic is not going away and we a... Jul. 8, 2011 10:00 AM EDT Reads: 2,216 |
By Richard (Rik) Brooks  This is the second part of a two-part article. In the last article we learned how to use the tag property to create our own microhelp and automate it. In this article we are going to go one step further and use the tag property for other things.
The list of items that I used the tag p... Jun. 24, 2011 11:00 AM EDT Reads: 2,150 |
By Richard (Rik) Brooks  Have you ever seen a form that has its own microhelp that changes when a field gets focus? I’m sure you have. You might see a window and at the bottom of the window is a line that says, “OPTIONAL – Enter the employee birth date,” when a field is entered. We are going to create a simple... Jun. 2, 2011 03:30 PM EDT Reads: 2,210 |
By Richard (Rik) Brooks  This month the article is not exclusively about DataWindows. To be sure it is about DataWindows, just not exclusively so. This month we are going to have to stretch our skills just a little.
The goal is to replace SQLCA with something a little more robust. Essentially we are going to ... May. 22, 2011 11:00 AM EDT Reads: 2,835 |
By Yakov Werde  Not sure when this sneaked in...
I was working on some new DataWindow object courseware with version 12.1 last week when I stumbled onto this little change. For those of you with a penchant for using the Messagebox function for debugging, you might find this interesting
Used to be... Apr. 12, 2011 12:55 PM EDT Reads: 1,735 |
By Richard (Rik) Brooks  One of the most useful custom objects that I’ve ever written is my master_detail object. It holds a prominent place in my toolkit. This article will take you through the steps of how to write one and in the process de-mystify the object.
First we want something that looks like Figure ... Mar. 4, 2011 01:00 PM EST Reads: 3,142 |
By Yakov Werde  One of the main goals of PowerBuilder Classic application refactoring is to divide the code into logical partitions. Although you will likely not gain significant performance increases in exchange for your efforts, you will achieve two other highly significant gains. First, your logic ... Feb. 2, 2011 10:15 AM EST Reads: 11,309 Replies: 1 |
By Richard (Rik) Brooks  Service objects were introduced for PowerBuilder at about the same time as the PowerBuilder Foundation Classes. Much like the PFC, most programmers found reasons not to use them. In this article we will reduce the complexity of these objects and in so doing perhaps open a new world of ... Jan. 26, 2011 11:00 AM EST Reads: 2,948 |
By Konstantin Goldobin  PowerBuilder has very good online help and documentation that extensively covers most aspects of programming with PowerBuilder. However, from time to time you’ll come across a problem that you can’t find an answer to in the online help or documentation. If a search on the Internet does... Jul. 16, 2010 07:30 AM EDT Reads: 3,223 |
By Bruce Armstrong  If you’ve been following the product direction for PowerBuilder for the last few releases, and particularly with respect to the upcoming PowerBuilder 12, you know that PowerBuilder is evolving into a .NET development tool. As PowerBuilder developers, you’ll also know that the key stren... Apr. 13, 2010 10:30 PM EDT Reads: 8,881 Replies: 1 |
By Yakov Werde  One of the minor DataWindow Object design annoyances I have accepted as a fact of life is the total lack of tool support when writing a SQL Select statement in Syntax mode. I'm often forced into syntax mode by limited abilities of the GUI SQL painter. In support what I imagined was m... Mar. 9, 2010 01:37 AM EST Reads: 2,177 |
By SB Gogia  Software that is not used is useless. Facing the challenge that doctors prefer to spend time with their patients rather than facing the monitor, we have fine-tuned methods in our DataWindow-based forms so that user entry is quick, painless, and a pleasure. These include the use of drop... Aug. 7, 2009 01:45 PM EDT Reads: 4,401 |
By Bruce Armstrong  This is the second part of an ongoing series about the new features that were added in PowerBuilder 11.5. In the first part, we looked at the Federal Desktop Core Configuration (FDCC) and the impact it had on developers. In this part, we’re going to look at a number of the improvements... Jun. 12, 2009 06:15 AM EDT Reads: 6,091 |
By Siddartha Argollo  TecnoTRENDS has been using PowerBuilder as its main development platform for years. The ultimate reason for choosing PowerBuilder was the versatility of the Sybase DataWindow control available under this platform. In short, the DataWindow control provides a significant productivity boo... Feb. 13, 2009 12:15 PM EST Reads: 3,455 |
By Ido Millett  One of the typical problems developers face when using the HTML DataWindow (HTML DW) is that there's no SetRowFocusIndicator() method to allow users to see which row is the current one. This can confuse the user and lead to errors. For example, without a current row indicator users may... Jan. 1, 2009 12:00 AM EST Reads: 2,985 |
By Geogy Zachariah  This article talks about the ease with which DataWindows can be designed and consumed in a Microsoft Visual Studio 2005 environment. The DataWindow .NET version 2.5 has the infrastructure to support this concept. With the earlier versions of the DataWindow .NET, such as 1.0, 1.5 and 2.... Sep. 1, 2007 03:00 PM EDT Reads: 12,564 Replies: 1 |
By Bruce Armstrong  It will come as a surprise to no one that PowerBuilder's native graphing capabilities are somewhat lacking. Even the Define Graph Style dialog for the DataWindow graph style seems to have been left out of the GUI update in PowerBuilder 10.5 (see Figure 1). Forget Windows 95, this looks... Aug. 1, 2007 01:15 PM EDT Reads: 13,577 |
By Arthur Hefti  The current version runs with DataWindow.NET 2.0 and uses PowerBuilder 11 Web Services. To keep the installation slim it uses no database; instead the data is stored in DataWindows or XML files. Prognos makes use of AJAX techniques and accesses .NET classes from PowerBuilder for XML ha... Jun. 5, 2007 11:30 AM EDT Reads: 16,406 Replies: 1 |
By Konstantin Goldobin  DataWindow display formats aren't a big secret. Most PowerBuilder developers use them to format numeric, date, time, and string values properly. Such display formats are usually straightforward and contain characters that have special meaning for a specific datatype like '#' for numeri... Mar. 14, 2007 12:00 PM EDT Reads: 14,825 |
By Konstantin Goldobin  Let's suppose that you have a search window where a user can enter a search string and get the list of text items matching this pattern. Ideally, the portions of text that meet the search criteria should be highlighted, for example, by text formatting. Aug. 17, 2006 08:45 AM EDT Reads: 20,873 Replies: 3 |
By Bruce Armstrong  One of the first things you'll notice when you open up the File->New->DataWindow dialog in DataWindow Designer 2.0 is the new TreeView DataWindow presentation style (see Figure 1). Once you've double-clicked on that, you'll see the same series of dialogs that you're already familiar wi... Jun. 23, 2006 01:15 PM EDT Reads: 16,789 Replies: 1 |
By Mikhail Klygin  Microsoft Visual Studio has excellent multi-language support both at design time and runtime, while Sybase DataWindow.NET doesn't have that. In this article we'll consider how to implement multi-language data presentation using DataWindow.NET. DataWindow.NET has two integral parts. One... May. 24, 2006 10:15 AM EDT Reads: 17,518 Replies: 3 |
By David Avera  In the early 1990s, before Windows 98, before Windows 95, before Windows NT, even before Windows 3.1, the DataWindow was being hatched by a small team of developers in Massachusetts. By small, I mean a single developer, Kim Sheffield - the 'Father of the DataWindow.' Nov. 13, 2005 05:00 PM EST Reads: 21,696 Replies: 3 |
By Bruce Armstrong  Last month we saw how DataWindow.NET technology can be a benefit when used for data presentation and data access in a Windows Forms (WinForms) application. This month we're going to look at how DataWindow.NET technology is a simpler but more powerful way of formatting data in the prese... Sep. 3, 2005 12:00 PM EDT Reads: 25,011 |
By Bruce Armstrong  Last month we looked at Microsoft's .NET Pet Shop sample application and saw how DataWindow.NET technology could be used in the data access layer of an ASP.NET-based application to reduce the its complexity and increase developer productivity. Aug. 5, 2005 10:45 AM EDT Reads: 36,315 Replies: 2 |
By Christoph Menken  PowerBuilder novices know the problem as well as seasoned PowerBuilder developers. You build a window in the window painter. You arrange the controls on the window and the layout looks fine. Apr. 30, 2005 09:45 AM EDT Reads: 24,125 |
By Bob Gardner I recently had the opportunity to rewrite one of our major data entry systems. This system processes payments on a monthly basis, either individually or submitted as a group under an administration company - rather like companies that have a third party handle their payroll. Mar. 1, 2003 12:00 AM EST Reads: 12,576 |
By Victor Rasputnis  Let's face it - rewriting an existing application from platform to platform is not fun. But many businesses successfully served with PowerBuilder applications are rewriting parts of PB apps for the Web and maintaining the same functionality in PowerBuilder and Java, PowerBuilder and C#... Mar. 1, 2003 12:00 AM EST Reads: 22,190 |
By Joseph Slawsky In the coding life of every programmer there's often a need to create a view of data that extends variably both to the right and vertically. Using a grid presentation style usually solves this problem. But what about when a programmer needs more control over presentation style? Jan. 1, 2002 12:00 AM EST Reads: 12,722 Replies: 1 |
By Larry Cermak The development of the Web DataWindow is a great technological advancement. It's extremely helpful in moving an existing PowerBuilder application to the Web. Most PowerBuilder applications contain many DataWindows for the various screens and reports. The ability to quickly render the... Apr. 1, 2001 12:00 AM EST Reads: 12,709 |
By Rik Brooks  We've spent two articles now on Sherlock (PBDJ, Vol. 7, issues 8 and 10). This is an application that will use dynamic DataWindows to create reports for the example database provided with PowerBuilder. Using this tool we'll learn about dynamic DataWindows and how to create them. Feb. 1, 2001 12:00 AM EST Reads: 11,431 |
By Rik Brooks A component that's sitting on EAServer doesn't do us any good unless we call it from somewhere. We may call these components from several different sources. In this article we'll call them from the Active Server Pages (ASP) front end. Jan. 1, 2001 12:00 AM EST Reads: 12,469 Replies: 1 |
By Tom Peters To this day my mother refuses to make deposits via her bank's ATM. Her reason is a valid one: she doesn't trust a machine with her money. You get no real validation from the ATM, just a receipt stating the amount you said was in your envelope. Jan. 1, 2001 12:00 AM EST Reads: 11,369 |
By Rik Brooks In the October issue of PBDJ we worked on the design for our mail server on Jaguar. This is more accurately called an MDA, or Mail Delivery Agent. What we're writing isn't the application that will receive raw messages from the Internet, parse them out, then store them for another appl... Nov. 1, 2000 12:00 AM EST Reads: 11,080 |
By Rik Brooks My first column on Sherlock appeared in the August issue of PBDJ (Vol. 7, issue 8). In that article we set up our development environment. Now we need to log in. Before we do that let's review just a bit. Oct. 1, 2000 12:00 AM EDT Reads: 10,932 |
By Kaushik Datta Imagine creating a DropDownDataWindow look and feel using HTML form elements that can show more than one column in a ListBox on a Web page. The data elements could be generated using Web server-side technologies such as JavaServer Pages (JSP), Active Server Pages (ASP), and ColdFusion ... Oct. 1, 2000 12:00 AM EDT Reads: 18,909 |