[AccessD] Cross post - looking for way to reassociate controls withevents

Bill Benson bensonforums at gmail.com
Wed Jun 3 10:28:51 CDT 2015


Thanks all. I will post these to Access-L as well.
On Jun 3, 2015 11:09 AM, "Rocky Smolin" <rockysmolin at bchacc.com> wrote:

> Well I had a 50-50 chance... :)
>
> r
>
> -----Original Message-----
> From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of
> John W. Colby
> Sent: Wednesday, June 03, 2015 8:05 AM
> To: Access Developers discussion and problem solving
> Subject: Re: [AccessD] Cross post - looking for way to reassociate controls
> withevents
>
> The other way around.  Paste the even code (back) in after moving the
> controls.
>
> John W. Colby
>
> On 6/3/2015 10:59 AM, Rocky Smolin wrote:
> > I think (but not sure) my trek is to paste the code first.  But can't
> > remember for sure.  But easy to try with one control.  Paste the event
> > code first, then paste the control.
> >
> > HTH
> >
> > Rocky
> >
> >
> > -----Original Message-----
> > From: AccessD [mailto:accessd-bounces at databaseadvisors.com] On Behalf
> > Of Bill Benson
> > Sent: Wednesday, June 03, 2015 7:51 AM
> > To: Access Developers discussion and problem solving; Microsoft Access
> > Database Discussion List
> > Subject: [AccessD] Cross post - looking for way to reassociate
> > controls withevents
> >
> > Not long back on one of the lists, someone posted some great technique
> > for re-associating controls with the event code (such as Click) in the
> > form code module, when controls have been cut and pasted. I recently
> > moved all my controls from the form to within the page of a tab
> > control on the parent form. This caused all the event code to no
> > longer be registered and I need that trick to get the associations
> > back because there really is no other way besides re-selecting the events
> after inspecting the code by hand.
> >
> > Thanks.
> > --
> > AccessD mailing list
> > AccessD at databaseadvisors.com
> > http://databaseadvisors.com/mailman/listinfo/accessd
> > Website: http://www.databaseadvisors.com
> >
>
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>


More information about the AccessD mailing list