Notifications
Announcements
No record found.
Hi
Above error is on the below code . Both are of Code Type
IF PCode[Ctr] = ICode THEN BEGIN
Thanks
*This post is locked for comments
If you index character position like PCode[Ctr] the result will be a char.
So try IF FORMAT(PCode[Ctr]) = ICode THEN BEGIN
You are trying to compare a character with Code, either you are missing dimensions for the PCode if you are trying to store it as an array.
Use FORMAT function if you have any specified any dimensions.
IF FORMAT(Pcode[Ctr]) = FORMAT(ICode)
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.