Kevin,
>At what point are you getting an error and what are the specifics of the error?
The error occurs in this line of the code snippet you've posted:
this.InitialSelectedAlias = this.aCursors[this.nInitialSelectedAlias]
this.aCursors returns .F.
Regards,
Armin