[AccessD] Saving onClick event procedure

Gustav Brock gustav at cactus.dk
Wed May 12 07:20:26 CDT 2004


Hi Ryan

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...




More information about the AccessD mailing list