Why row() local variable is showing as not defined on my tool?,thanks for any reply

@Sai_Kumar_111

You should mark my previous post as solution here.