PowerBuilder · Runtime error
What does R0006: Invalid DataWindow row or column specified mean in PowerBuilder?
A DataWindow method referenced a row or column number that does not exist in the current result set or object definition.
A DataWindow method referenced a row or column number that does not exist in the current result set or object definition.
Check the row number against RowCount() and the column number or name against the DataWindow object's actual column definitions, especially after a Retrieve() that may have returned fewer rows than the script assumes.