Skip to main content
May 13, 2023
Solved

Expression evaluation error : Cannot compare incompatible operands of type List of Variant and type Number (Integer).

  • May 13, 2023
  • 6 replies
  • 0 views

Hi ,

How can I overcome  this error.

Expression evaluation error : Cannot compare incompatible operands of type List of Variant and type Number (Integer)..

index(ri!approval,"meetingId",{})=ri!meetingID

//ri! approval type is on etable and array is enabled,whereas meeting id is number

    Best answer by sanchitg0002

    Are you trying to check that if all meetingIds in approval CDT are equal to your ri!meetingId?

    Well, wrap the first operand in tointeger() and it will work.

    6 replies

    May 13, 2023

    Sorry ri!approval  type is one table and array is enabled where meetingId is number

    May 13, 2023

    Are you trying to check that if all meetingIds in approval CDT are equal to your ri!meetingId?

    Well, wrap the first operand in tointeger() and it will work.

    May 13, 2023

    Thank you sanchit .I have one more doubt I have made some changes in the interface. I have tested by giving the inputs in the interface it is showing the changes in form itself.But when I open the task the changes are not updated in the form even I have tried by refreshing the form.Do I need to made changes anywhere to display the changes