Object reference not set to an instance of an object in For each row

Capture

I dont know why i kept getting this error.

Please help. Thank you~

Hey @zefang,

Please check CostDT it seems to be empty.

1 Like

Thank you @amarasto . Just wanted to ask another question.
Is there any way a variable can accept both a string and double?

Hey @zefang,

Yes you can use the generic type for that purpose but i am not sure how that variable will behave internally.

1 Like

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