Mark,
>Can anybody tell me how I can avoid this phenomenon? Thanks.
Sorry it took me a few days to reply to this message! If you're trying to bind a UI control to a business object that uses SQL pass through, set the business object's nRequeryType property to 5 (Requery on Init()). This ensures that the business object retrieves its data before the UI control tries to bind to its associated cursor (as long as you make sure the business object instantiates before the UI control).
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