Hi Afin Try use fieldId2Ext
qbds.addRange(fieldId2Ext(fieldnum(DIMENSIONSETCOMBINATION, Dimension),1)) Regards Jonathan Blog: http://workflowax.wordpress.com On Fri, May 21, 2010 at 5:03 AM, thomas 'znal' ramdhan < thomasramd...@gmail.com> wrote: > > > Dear all, > > Could anyone tell me how to declare the array dimension in > querybuilddatasource. For example, > qbds.addRange(fieldnum(DIMENSIONSETCOMBINATION, *Dimension*)) > > I'd like to add range only for Dimension[1]. When I add the array[1] in > above code, the compiler returns an error. > > Thanks and Regards, > > -Afin- > > > -- > ne faites pas une limite pour votre competence > ------------------------------------------------------------------------- > bilden Sie nicht eine Begrenzung fur Ihre Fahigkeit > ------------------------------------------------------------------------- > non faccia un limite per la vostra abilita > ------------------------------------------------------------------------- > --(-@ > >