Hi Vikas

Use .addRange(fieldId2Ext(FieldNum(abc,Dimension), 1)) for array 
index 1 and of course similar with 2 and 3.

Regards
Simon

--- In Axapta-Knowledge-Village@yahoogroups.com, "Vikas Garg" 
<[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> I have following code to add range on dimension field in some 
datasource but
> I am not able to assign range value to this field
> 
>  
> 
> QueryBulidRange           qbrDimension;
> 
> Dimension                     dims;
> 
> ;
> 
> Dims                 =          someSource of input;
> 
> qbrDimension    =
> abc_ds.query().dataSourceTable(tableNum(abc)).addRange(fieldNum
(abc,
> Dimension));
> 
> qbrDimension.value(Dims);
> 
>  
> 
> above code always give error.
> 
>  
> 
> Please tell me, how we can add values against the QueryBuildRange 
for
> dimension field in some datasource. As dimension field always has 
some no of
> array element and assigning whole edt in one go gives an error. 
So' what is
> exact way to assign proper values to each and every array element 
of
> dimension field.
> 
>  
> 
> Thanks
> 
>  
> 
> Vikas Garg
> 
>  
> 
>  
> 
>  
> 
> 
> 
> [Non-text portions of this message have been removed]
>






Sharing the knowledge on Axapta.
Visit www.frappr.com/axapta for axapta friends. 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Axapta-Knowledge-Village/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to