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!

how to insert a registry in a composite datawindow?

Status
Not open for further replies.

montjoile

Programmer
May 23, 2011
23
CO
I have two datawindow nested in a datawindow composite. I can add rows and set items in columns, but I need the user can dinamically add registries in one of the two nested datawindow, If I separate each datawindow and take them out of the datawindow composite, when I call insertrow(), I am able to write in the new row, but I cannot do that when that datawindow is nested in the composite datawindow. Seems like it is blocked or something
I cannot also call setfocus(), why is that?

I have this code for trying to use setfocus():
datawindowchild set_focuss
w_reporte.dw_1.getchild("dw_2", set_focuss)
set_focuss.setfocus() //error!

 
Composite datawindows are used in reports or to display related data not for data entry. What you seem to need is to set up a series of datawindows in a Parent - Child relationship.

Matt

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

Part and Inventory Search

Sponsor

Back
Top