Re: Public Function to call private (public) sub?

Tech-Archive recommends: Fix windows errors by optimizing your registry



"JHK" <JHK@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:35764A75-FA17-4262-B920-A68B821318B2@xxxxxxxxxxxxx
> Got it. It was this way:
>
> Call Forms("frmairportidselect").clickAddtoItinerary_Click

Forms("frmairportidselect") is the same as Forms!frmairportidselect.
The problem was you were specifying the name of the button, not the name
of its Click event procedure. I'm glad to see you got it working.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)


.


Quantcast