Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Custom form builder causes C0000005
Message
De
24/05/2006 15:47:45
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01124403
Message ID:
01124663
Vues:
16
This message has been marked as the solution to the initial question of the thread.
Hugo,
I followed your tip, and I surrounded the section of code that calls ResetToDefault with an If empty() and that took care of it.

The FOXOBJECT clause made it quicker.

thanks,
Procedure ProcessSrchField
	Lparameters oCtrl

	Strtofile(oCtrl.Class + [:] + oCtrl.Name+Chr(13)+Chr(10),[c:\crap\mylog.txt],1)
	Local cSrc, cAlias, cTag
	cSrc = oCtrl.ControlSource

	cAlias = Getwordnum(cSrc,1,[.])
	cTag = Getwordnum(cSrc,2,[.])
	oCtrl.icsrchAlias = cAlias
	oCtrl.icsrchTag = cTag
	cSrc = oCtrl.ReadMethod([GotFocus])
	If !Empty(cSrc)
		oCtrl.ResetToDefault([GotFocus])
	Endif
Endproc
>Jim,
>
>Try adding the FOXOBJECT clause to the FOR EACHs to see if that makes a difference
Jim Newsom
IT Director, ICG Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform