Getting error in For Each Row in Data Table: Object reference not set to an instance of an object

Hello Everyone,


Here no data table and no variable is empty then why it is giving error

@HELZMOTH_BJ,

I think you have declared a variable with name dt_Teleworking and it’s taking precedence over the argument dt_Teleworking.

Delete the variable if declared by mistake and you should be good.

Also follow best practice of naming convention for arguments.

Argument should prefix the direction like in,out,io. This helps in differentiating between variable and arguments.

yes it is working now . Thank you

1 Like

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