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 / General 2 / January 2008

Tip: Looking for answers? Try searching our database.

SubForm record redisplay

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
B Moody - 16 Jan 2008 17:41 GMT
AC 2003. I have a form with a subform in datasheet view. I do not allow Add
records in the subform, but provide a button on the main form that opens
another form which adds one or more records to the table in the subform.
How can I get the subform to redisplay showing the newly added records? I
thought subform.requery would work but it doesn't.
Douglas J. Steele - 16 Jan 2008 17:51 GMT
Are the name of the subform control and the name of the form being used as a
subform (the SourceObject property of the subform control) the same? If
they're different, it's the control name you need to use, not the form name.

If that still doesn't work, try:

Me!NameOfSubformControl.Form.Requery

(assuming you're calling this from the parent form)

Signature

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

> AC 2003. I have a form with a subform in datasheet view. I do not allow
> Add
> records in the subform, but provide a button on the main form that opens
> another form which adds one or more records to the table in the subform.
> How can I get the subform to redisplay showing the newly added records? I
> thought subform.requery would work but it doesn't.
 
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.