Remove Scan/Endscan, the record skipping is handled internally by the Label command.
Select myCursor
Label Form myLabel.lbx Preview
>I am useing the following code:
>
>Select myCursor
>Scan
>Label Form myLabel.lbx Preview
>EndScan
>
>The cursor has two records in it but when I run the above code and click the close icon on the preview tool bar after the last record it goes into an infinite loop. If I take the Label Form command out it works okay.