devxlogo

DataWindow Initial Values

DataWindow Initial Values

Question:
How can I use global variables to set initial values in a DataWindow?

I have tried to use “Rows..Column Specs..” but all it displays is the name of the global variable.

Answer:
You cannot use the column specifications to set the values based on PowerBuilder variables. The initializers you can use are:

  • Today: today’s date
  • Empty: a string of length 0
  • Null: no value
  • Spaces: all blanks

To achieve what you want you will have to use PowerScript and manually set or import the values.

See also  5 Tips for Choosing the Right Medical Software for Your Practice
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist