Hi,

Check the following code to declare a dimension array.

QueryBuildRange  range;
range =
query.dataSourceTable(tablenum(CustTrans)).findRange(fieldid2ext(fieldnum(CustTrans,Dimension),2));
if(!range)
{
  range =
query.dataSourceTable(tablenum(CustTRans)).addRange(fieldid2ext(fieldnum
(CustTrans,Dimension),2));
 range.value(Sysquery::valueNotEmptyString());
 }

Hope this helps.

Regards,
AnithaSantosh

On Fri, May 21, 2010 at 8:33 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
> -------------------------------------------------------------------------
> --(-@
> 
>

Reply via email to