Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Empty cursoradapter cursor
Message
 
À
14/01/2004 14:08:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00866479
Message ID:
00866930
Vues:
17
I'm using CA builder from Form's dataenvironment.

Do I first have to modify above builder to use new Cursoradapter class based on Cursoradapter base class?

Replacing AutoOpen method:
*** Setup code: DO NOT REMOVE
if not pemstatus(This, '__VFPSetup', 5)
	This.AddProperty('__VFPSetup', 1)
	This.Init()
endif
*** End of Setup code: DO NOT REMOVE
with the next
DEFINE CLASS EmptyCA AS CursorAdapter
	FUNCTION AutoOpen()
		NODEFAULT
		RETURN this.CursorFill(.F.,.T.)
	ENDFUNC
ENDDEFINE
I think that at least This.Init() shoud be added too.

AT
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform