Convert text to numeric Access

Solved
ExcellenceConception -  
Hello,

How can we convert this expression ("2+5+7") which is in text format, to get the result (the sum) in numeric format?

Thank you in advance.

1 answer

  • Votes
  • Date
  • Descending date
  1. Contributor
    Hello,
    it depends on the context, which you haven't provided.
    Maybe by using the
    eval()
    function?
    1. Thank you very much, you really inspired me.
      Best regards.
    2. @ExcellenceConceptionAnother question please:
      - how to solve decimals?
      Example: Eval("3+0.5+...")=#Error.

      Thank you very much.