Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms Programming / March 2007

Tip: Looking for answers? Try searching our database.

Firing Change event from popup form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark A. Sam - 22 Mar 2007 20:45 GMT
Hello,

This code is on the AfterUpdate event of a list box on a popup form.

Private Sub Company_AfterUpdate()

 Dim frm As Form
 Set frm = Forms![LoadSheetsMain]![LoadSheetsST].Form
 frm.Controls(OpenArgs) = Me.ActiveControl

End Sub

It assignes a value to a textbox on the calling form.  I need to fire the
change event of that textbox, but don't know the method.

Thanks for any help.

God Bless,

Mark A. Sam
kingston - 22 Mar 2007 21:38 GMT
The change event of the textbox must be Public.  You can then call it from a
different control or form:

Forms!FormName.PublicSub

>Hello,
>
[quoted text clipped - 16 lines]
>
>Mark A. Sam
Mark A. Sam - 23 Mar 2007 03:11 GMT
Thanks.  The Event is public, but I need to know to go the next step from my
code below to firing the event. This is generic and I will use it again in
other textboxes so I can't specify the control name.

> The change event of the textbox must be Public.  You can then call it from
> a
[quoted text clipped - 22 lines]
>>
>>Mark A. Sam
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.