Choose Language Hide Translation Bar
ENTHU
Community Trekker

Error with is missing inside for loop

I have written a small piece of code which fills a cell with value in previous cell if the current cell is empty.I have a for loop to look at all rows of a column.Following is the part of code I have written.The code runs fine when I run the code part by part(I have several lines of code before and after this part).But when I run the code as a whole it breaks at this point with the erroe -

Name Unresolved: test bench in access or evaluation of 'test bench' , :test bench/*###*/ 

 

Are there any mistakes in the code?

For( i = 2, i <= N Rows( dt ), i++,
	If( Is Missing( :test bench[i] ),
		:test bench[i] = :test bench[i - 1]
	);
);



);

0 Kudos
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
txnelson
Super User

Re: Error with is missing inside for loop

try changing all of your references to :test bench, to dt:test bench
and see if that fixes anything
Jim

View solution in original post

1 REPLY 1
Highlighted
txnelson
Super User

Re: Error with is missing inside for loop

try changing all of your references to :test bench, to dt:test bench
and see if that fixes anything
Jim

View solution in original post