Thanks for your reply, I used the same logic and it worked

Regards

Vikas Garg
(Technical Consultant)
EuroInfo Systems Pvt. Ltd.
Sector 2, Noida.
Direct No - +91-9911213322
Office No - +91-120-2520414 ext. 213


-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Paulius
Sent: Tuesday, January 31, 2006 1:33 PM
To: [email protected]
Subject: Re: [development-axapta] using demension field in query range value

abc_ds.query().dataSourceTable(tableNum(abc)).addRange(fieldId2Ext(FieldNum(
abc,
dimension), i)).value;
where i - the element in dimension.
hope it helps

--- 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]
>
>
>
>


Paulius Cerniauskas
ICQ: 280959446

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com





Yahoo! Groups Links













SPONSORED LINKS
Computer part Programming languages Microsoft axapta
Support exchange


YAHOO! GROUPS LINKS




Reply via email to