Hello,

Does anybody know how to use power raising in a datacolumn expression ??

Example:

NewColumn = FirstColumn ^ 1.2345

or

NewColumn = Power (FirstColumn,1.2345)


--
Thanks in advance
Jos Beelen

Re: Power raising in a datacolumn expression by Val

Val
Tue May 03 17:42:21 CDT 2005

Hi Jos,

It should be like

MyDataSet.Tables("MyTable").Columns("NewColumn").Expression = "FirstColumn ^
1.2345"

--
Val Mazur
Microsoft MVP

http://xport.mvps.org



"Jos Beelen" <JosBeelen@discussions.microsoft.com> wrote in message
news:3141278F-6772-4A64-8118-F88899617FD4@microsoft.com...
> Hello,
>
> Does anybody know how to use power raising in a datacolumn expression ??
>
> Example:
>
> NewColumn = FirstColumn ^ 1.2345
>
> or
>
> NewColumn = Power (FirstColumn,1.2345)
>
>
> --
> Thanks in advance
> Jos Beelen



Re: Power raising in a datacolumn expression by JosBeelen

JosBeelen
Wed May 04 01:58:05 CDT 2005

Hello Val,

Thanks for your response.

I already tried this, but power raising using the ^ operator is not
supported in an expression. So I am looking for an acceptable work around.

Jos Beelen




"Val Mazur (MVP)" wrote:

> Hi Jos,
>
> It should be like
>
> MyDataSet.Tables("MyTable").Columns("NewColumn").Expression = "FirstColumn ^
> 1.2345"
>
> --
> Val Mazur
> Microsoft MVP
>
> http://xport.mvps.org
>
>
>
> "Jos Beelen" <JosBeelen@discussions.microsoft.com> wrote in message
> news:3141278F-6772-4A64-8118-F88899617FD4@microsoft.com...
> > Hello,
> >
> > Does anybody know how to use power raising in a datacolumn expression ??
> >
> > Example:
> >
> > NewColumn = FirstColumn ^ 1.2345
> >
> > or
> >
> > NewColumn = Power (FirstColumn,1.2345)
> >
> >
> > --
> > Thanks in advance
> > Jos Beelen
>
>
>