I have a script that ends in a:
Go To Layout (xyz)
Show All Records
Sort Records (abc)
Export Records [With dialog:off; "FileName"; Unicode (UTF-16)]
Go To Layout (original layout)
Problem is the resulting file contains only one record of the ump-teen records in the layout list.
What am I screwing up this time.