I have a data table that I am trying to manipulate. I am using get rows where function to find where the first column equals a string, let's call it "aaa". When I use the software to do this, it works fine and two rows are selected, row 1 and row 2240. When I try to script this, the result is an empty matrix.
Here is the script I am using:
Names Default To Here( 1 );
dtx = Current Data Table();
noRows = N Rows( dtx );
ddd = dtx << Get Rows Where( Column( dtx, 1 ) == "aaa" );
and the result is
[](0, 1)
note that this returns a 1
Column( dtx, 1 ) [1] == "aaa"
Does anyone have any idea what I am doing wrong?
thanks in advance
Heather