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 / Modules / DAO / VBA / November 2006

Tip: Looking for answers? Try searching our database.

after update event help

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
scubadiver - 27 Nov 2006 14:59 GMT
The code I use for a cascading combo is: me.[field].requery.

In this case [field] is in a subform and the list is based on a combo in the
main form.

thanks.
Douglas J. Steele - 27 Nov 2006 15:03 GMT
Assuming that the code is going into the AfterUpdate event of the combo box
on the main form, you need to use:

Me![NameOfSubformControl].Form![field].Requery

Replace NameOfSubformControl with the name of the control on the main form
that contains the subform. Note that depending on how you added the subform
to the main form, the name of the control that contains the subform may be
different than the name of the form being used as a subform.

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

> The code I use for a cascading combo is: me.[field].requery.
>
[quoted text clipped - 3 lines]
>
> thanks.
scubadiver - 27 Nov 2006 15:55 GMT
cheers

> Assuming that the code is going into the AfterUpdate event of the combo box
> on the main form, you need to use:
[quoted text clipped - 13 lines]
> >
> > thanks.
 
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.