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.