Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

The datawindow is the work horse of PowerBuilder, when you have been using it for a while it is easy to forget some of the basic but very powerful built-in function of the Datawindow.

Sort

You can specify the default sort sequence of the datawindow using a cool drag and drop style response window, but you may not know that with two or three simple commands you can offer the same dialog window to users of your application:

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

These are naming standards for standard variables declared within the Powerscript environment. This includes variables declared in dialog windows such as global and instance variables. The object name should be typed using Camel Case. Camel case is a standard used to aid readability in scripts, the first letter of each new word in the variable name should be in upper case. The scope and prefix should always be in lower case. See the examples below:

Syntax Conventions

   [scope][prefix]_[name]

Scope Qualifiers

Scope Prefix Example
Argument a al_NameId
Global g gs_Name
Instance i ii_Count
Local l ls_Foo
Shared s si_Number