Hi, I have the following script which is inside a for loop. I like to continue the loop if table mydt is empty and skip lines below it.
I appreciate your help. Thanks
-------------------------------------------
mydt = Data Table( dt5 );
if((is empty(mydt)), continue());
mydtsummary = Data Table( dt5 ) << Summary(
Group( :BoardNo ),
Max( :starttime ),
statistics column name format( "stat of column" )
);
mydt << Update(
With( Data Table( mydtsummary ) ),
Match Columns( :BoardNo = :BoardNo ),
Add Columns from Update table( :Max of starttime )
);
mydt << select where( :starttime == :Max of starttime ) << invert row selection;
mydt << delete rows;
mydt << delete columns( "Max of starttime" );
Close( mydtsummary, nosave );
Close(mydt,save);