Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CListObjEditForm
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00859009
Message ID:
00859497
Vues:
13
Bob,

>ov_bbPriceDetail is a remote view on a SQL table and one of the views in my custom business object. I have moved forward feeling confident I would figure it out somewhere along the way but no luck so far. I have used the cListObjEdit class a total of 8 times across 5 forms in my project and they all suffer from the same symptoms. I hope you can get me on the right track. I appreciate the help.

It's difficult to tell what's going on from here, but I've got something you can try. Change the MM VFP code in CDynamicViewCursor.Close() to the following (CDynamicViewCursor is found in CDataEnv.vcx):
DODEFAULT()

IF TYPE("goConnectionMgr") == "O" AND NOT ISNULL(goConnectionMgr)

	IF NOT This.lUseLocalData AND USED(This.Alias) AND ;
	  CURSORGETPROP("SourceType", This.Alias) = DB_SRCREMOTEVIEW
	  	goConnectionMgr.UnregisterSQLConnection(CURSORGETPROP("ConnectHandle", This.Alias))
	ENDIF

ENDIF
Let me know if this helps.

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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform