Hi Anant,
There are 2 requirements.
��� a) you should name the computed column (u seem to have done that.)
��� b) there should be a value in that. i.e if the retrieve returns no
rows and resulting in NO computed column, then u will get those
reference errors.
Then the dot notation of the foll. format will work.
�ld_prepaid_freightbought =
dw_report.Object.dw_details.Object.cc_prepaid_freightbought [1]
Remember to put the [1] and ensure there is at least one row which will
ensure the instantiation of the computed column.
The above line plucks the value from a nested report inside a datawindow
report. Depending on your case you may have one level lesser (or more
:-))
HTH. Pls email me if this doesn't work and let's try to figure it out
together.
Venu
�
Anant Raigaga wrote:
> �Hi folks,This is non-PFC question here, but I can't figure out how to
> work it out. Mebbe someone out there can help me out... Ok, here
> goes... I've got a datawindow object, say dw_1, in which I've got an
> external (computed) object for a group in the group's trailer band.
> Let's say this object is named, ext_obj_1. Now in the window in which
> I am placing this datawindow object through the dw control, I have
> another command button through the script of which I want to refer to
> the data in ext_obj_1. I've tried all the combinations of trying to
> get to this data using the dot notation reference method, but it keeps
> giving me either erroneous data or an external object reference error.
> Could someone tell me how I could get to this data. TIA,Anant Raigaga.
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]