I have several dw (external data) which I populate manualy
with my own written code.
This code is contained in a user function, which gets the
datawindow by reference as parameter.
I use the same dw's in a composite report.
Then, for each datawindowchild I do a GetChild(...) and pass
this to the function ... but here's the problem : The
function takes a datawindow as parameter, not a
datawindowchild.
Can someone please help me with this one ?
Thanks,
J.
<Jurgen Cauwenbergh> wrote in message
news:40680f38.67...@sybase.com...
"Scott Morris" <bo...@bogus.com> wrote in message
news:406823c8$1@forums-1-dub...
change the argument type of the function. Take PowerObject. Then using
Classname() and TypeOf() you can decide what type of object you're getting
and continue from there.
Ben
PS: ben jij de broer van bruno? :-)
<Jurgen Cauwenbergh> wrote in message
news:40680f38.67...@sybase.com...
I did a workaround by using the powerobject (apo_dw_dwc) as
parameter and then doing blind dynamic calls like this :
apo_dw_dwc.DYNAMIC modify(...)
apo_dw_dwc.DYNAMIC SetTrans(SQLCA)
apo_dw_dwc.DYNAMIC Retrieve(...)
It works fine like that.
Both objects have so much thing in common, it makes me
wonder why they are not relatives ;)
Hey ben ! Inderdaad ik ben de broer van Bruno.
Nog steeds into PB ... op 't stadhuis ?
Greets,
Jurgen.
Ben
<Jurgen Cauwenbergh> wrote in message
news:4069392b.75...@sybase.com...