PROTECTED PROCEDURE Cr8_AutoOpenCode TEXT TO THIS.cAutoOpenCode NOSHOW PRETEXT 1 *** 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 IF NOT DODEFAULT() RETURN .F. ENDIF NODEFAULT ENDTEXT ENDPROCMove the IF NOT DODEFAULT() lines of code to the bottom instead of at the top. Also make this change in any VCXs you have already created with this builder.