Armin,
>I've changed the code, but it didn't help. I've done some further investigation and found out, that the aCursors[] array is empty (only contains one line with .F.). I think I should have written that we are still using SQLPT. Probably this makes the difference (cursors are not opened on instantiation).
At what point are you getting an error and what are the specifics of the error?
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