Gustav Brock
gustav at cactus.dk
Wed May 12 07:44:50 CDT 2004
Hi Ryan And does it have some associated code? (which comes from where?) /gustav > Yes it has Gustav. --- > Is the form's HasModule property been set to True? > /gustav >> I'm trying to programatically 'hook' an event from a control (on a form) >> up to an event procedure. >> I.e. >> frm.Form.Controls("optValue").OnClick = "[Event Procedure]" >> Which works fine, until the form is taken out of 'form view'. I.e. if I >> change to design view for the form, or close the form. Once that happens >> the on click property is returned to being empty (or unhooked). >> I've tried saving the form but this seems to make no difference...