Cannot implicitly convert type object to string error
Cannot implicitly convert type object to string error
I'm not sure what I'm doing wrong in this statement the value tax is a decimal.
- Attachments
-
- 2022-07-01_15-09-29.png (65.94 KiB) Viewed 347 times
Re: Cannot implicitly convert type object to string error
Hello,
The IIF() function returns object type value.
Please, convert it to a string like this:
Thank you.
The IIF() function returns object type value.
Please, convert it to a string like this:
Code: Select all
IIF((PayRunContractorContractors.VAT) > 0 , "Vat" , "").ToString()
Re: Cannot implicitly convert type object to string error
Thank you for getting back to me as soon as you did.



Re: Cannot implicitly convert type object to string error
Hello,
We are always glad to help you.
Let us know if you need our help.
Thank you.
We are always glad to help you.
Let us know if you need our help.
Thank you.