How to calculate a square root in a query

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

Guest

Help! I am trying to make a query that calculates a new field based on the
square root of the value in an existing field. I have tried:

NewField: SQRT([OldField])

But I get the error "Undefined function 'SQRT' in expression"
Can anybody tell me what I am doing wrong?
 
Thank-you! that solves it!

(now, I wonder why wouldn't microsoft use the same functions in Access as
Excel???)

Brian Camire said:
Try:

NewField: Sqr([OldField])


frustrated said:
Help! I am trying to make a query that calculates a new field based on the
square root of the value in an existing field. I have tried:

NewField: SQRT([OldField])

But I get the error "Undefined function 'SQRT' in expression"
Can anybody tell me what I am doing wrong?
 
Especially as you look in Access help and it tells you it is SQRT for square
root.
--
Don


frustrated said:
Thank-you! that solves it!

(now, I wonder why wouldn't microsoft use the same functions in Access as
Excel???)

Brian Camire said:
Try:

NewField: Sqr([OldField])


frustrated said:
Help! I am trying to make a query that calculates a new field based on the
square root of the value in an existing field. I have tried:

NewField: SQRT([OldField])

But I get the error "Undefined function 'SQRT' in expression"
Can anybody tell me what I am doing wrong?
 
Back
Top