on 05-16-2016 2:03 AM
Hi All,
PB12.5 here.
I have a datawindow which retrieve argument is a number array.
When I tried to add this datawindow to composite datawindow, found that there is no option to set number array, as below, so, I have no choice and select "number" as type, but it will hits error "DataWindow Error - Retrieve argument 2 does not match expected type.", when I try to retrieve data.
I would like to know how to set or pass this number array to composite datawindow.
Kindly advise.
Thank you.
BR,
Yow
Bad News: You can't pass arrays as arguments to a composite datawindow.
Good News: You can still retrieve the detail datawindow including passing arrays:
long llIds[] = {1,2,3,4,5}
datawindowchild ldwc
dw_base.GetChild ( 'dw_1',ldwc )
ldwc.SetTransObject ( SQLCA )
ldwc.Retrieve ( llIds[] )
If you choose this way and there are more than one child datawindow, you should also retrieve those individually. Also you do not want to retrieve the base datawindow at all.
Hope this is helpful to you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.