error with sum

Why it gives me an error?

SumCharOdd += CharTable.ValueOdd;

Best Answer

Answers

  • KishormKishorm Member Posts: 921
    You need to tell us the types of the variables/fields/function-return-values.

    I guess SumCharOdd is not an integer/decimal or CharTable.ValueOdd is not an integer/decimal
  • zohaibu95@hotmail.comzohaibu95@hotmail.com Member Posts: 223
    You need to be precise what error it is giving. Anyhow it is due to the CharTable.ValueOdd is not an integer/decimal.
    Best Regards
    Zohaib Ahmed
    Dynamics NAV ERP Technical Consultant.

    please like / agree / verify my answer, if it was helpful for you. thanks.
Sign In or Register to comment.