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!

OBTAIN THE SELECT FROM A DATAWINDOWCHILD

Status
Not open for further replies.

thebull1

Programmer
Oct 24, 2001
68
Hi all??

I have the following syntax for a dropdown dw :-

//declare
datawindowchild ldwc_child_h
//
idw_detail.getchild("dw_header", ldwc_child_h)
ldwc_child_h.settransobject(SQLCA)

How do I obtain the SELECT that is in the dataobject contained in dw_header??

 
Have you tried this:
dw_header.getsqlselect( ) ?
 
What is 'dw_header'? a report in a composite datawindow?

Matt

"Nature forges everything on the anvil of time
 
Thanks all for the response.
1. Reevda - dw_header.GetSqlSelect() was returning a '!' instead.
2. Mbalent - Yes. dw_header was a report in a composite datawindow.

Since I could not find a way out then, I resorted to creating a duplicate of the dw_header's dataobject, manipulating it since the GetSqlSelect() works well in a normal datawindow that is not compsoite, then did a sharedata() with the dw_header in the composite report at the end. This worked. I could not honestly get a shorter way out of this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top