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!

Accessing column data in a nested report

Status
Not open for further replies.

girls3dog1

Programmer
Nov 22, 2002
30
US
Is it possible to access column data in a nested report from a composite datawindow event such as "retrieverow" with the following code:

string_variable = this.object."reportname".getitemstring(row, "columnname")

I've tried this, but it can't find the column name, which I know is present in the report.

Thanks in advance for any assistance provided.
 
you have to use a DataWindowChild :

dw_1.GetChild(dwc) (see GetChild in the help)
string_variable = dwc.GetItemString(row, column)

or, if you really want to use .object property :

this.object."reportname".columnname[row] (not sure)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top