Sebastian,
>The problem I see is: Is the "NOT" clause located in the first IF ok or not?
>IMO this NOT has to be removed to take "this.aCursors[this.nInitialSelectedAlias]" in the case of "no filled taDataAccessObjects[1]"?
>
>Can you guide me to the right way?
Actually, it's correct...if there are no data access objects, then this.aCursors[] will be empty.
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com