The non-callable member "row" cannot be used like a method

Hi,

I would like to read out a column and filter to the length of the characters. I get the following error message:

the non-callable member “row” cannot be used like a method

Can you help me?

Thanks a lot
Nina

image

@nina.wenner How do you create your datatable?

The syntax you use in general seems okay. I think there is a problem with your table.

Kind Regards

image

@nina.wenner can you try to use an index instead of the column name?

it’s a strange error to happen here. Did you create anything called “row” too?
Which version of UiPath are you using?

Kind Regards

Edit:
you could try using row.item(“RechnSte”).ToString.Length >= 7

image
image

Is the Project Set to c#?
If so, then we would use the rectangular brackets like row[“colname”]…

1 Like

Thank you very much, so it works. The Project Set is C#.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.