Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: PowerBuilder
Expertise: Beginner
Aug 17, 1999

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.
DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date