Power raising in a datacolumn expression

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

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

Example:

NewColumn = FirstColumn ^ 1.2345

or

NewColumn = Power (FirstColumn,1.2345)
 
Hi Jos,

It should be like

MyDataSet.Tables("MyTable").Columns("NewColumn").Expression = "FirstColumn ^
1.2345"
 
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) said:
Hi Jos,

It should be like

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

--
Val Mazur
Microsoft MVP

http://xport.mvps.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top