Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ability to copy retrieved rows from Datawindow

Status
Not open for further replies.

aaasrija

Programmer
Feb 25, 2006
3
US
Hi,

I am new to power builder. I am using power builder 9.0.2. I have a window, which generates random numbers (when the user enters how many random numebrs he/she wants )and displays them in a datawindow. The user now wants the ability to copy the generated random numebrs from datawindow and paste them in another window. Can anybody help how can i do this? I would appreciate.
 
You have a number of options depending on where/how your random number generator is called and whether the user is going to select one/more number and press copy or just wants the number(s) to automatically appear in the new window.

The easiest approach is probably to just pass the datawindow to the window where the user wants it displayed. Then you can use the normal datawindow methods (getitem, setitem, rowscopy, etc) to pick/choose what to display or not display.
 
Dogs4me thanks for your reply. But let me make one point clear here. When the user enters values then the window is supressed and datawidnow, with genrated random numbers has been shown. The datawindow is Tabular Type.

What the user wants is, when the random numebrs are shown on the datawindow as a report she wants to select all the numbers she wants and copy and paste them in another window. Any suggestions? please help?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top