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!

Add Values in a DropDown for multiple rows in a dataWindow

Status
Not open for further replies.

pusad6883

Programmer
Jun 4, 2011
1
US
Hi,
My screen fetches multiple rows from the database and displays on the screen in a Datawindow.
Now the Requirement is to add one more column in the Datawindow at the end, which will dynamically fetch 10-15 values for that perticular row.

My Question is - Should i use DDDW or DDLB ?
If using DDDW, how can i populate the Values for each row ?
If using listBox, AddItem is not working. I am using Syntax as
Dw_1.Object.DDLB_name[curr_row].AddItem(Fetched_Value_1)
Dw_1.Object.DDLB_name[curr_row].AddItem(Fetched_Value_2) etc

 
Use a dddw. When you designate the datawindow object of the DDDW column you will also designate the retrieval argument from the main datawindow which the child (the dddw) used to retrieve. Depending upon the PB version, you can set the dddw to autoretrieve (it retrieves the values when the main dw retrieves the data) or you can manually retrieve the data. (via a getchild, settransobject, and retieve on the child datawindow).

Matt

"Nature forges everything on the anvil of time"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top