Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Custom form builder causes C0000005
Message
From
24/05/2006 15:47:45
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01124403
Message ID:
01124663
Views:
19
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform