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
Apr 25, 2000

How to Pass a Variable into Report

Question:
When I use a datawindow to generate a custom report, how can I pass a variable into the report from an input field?

Answer:
You can do this through the use of retrieval arguments for the datawindow object. Then you can access the argument in your SQL and in the expressions within the datawindow layout. We frequently want to show the user a textual version of their retrieval arguments when we dynamically modify the SQL. We do this by adding a dummy argument to the report and then displaying the argument in the summary band.

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