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.

Synchronizing 2 subforms on a tab control

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alex - 31 Mar 2007 06:06 GMT
I have a form that has 2 subforms on a tab control.  The 2 subforms have
similar record sources.  When I make changes on tab 1 - the information
should reflect on tab 2 if the user is on that record (i.e, the user goes to
tab 2 and uses dropdown to move to John Doe's record.  Then moves to tab 1
and adds a child to John Doe's family.  Then moves back to Tab 2 which should
still be on John doe's record.  Tab 2 should now show the new child entered).
I can get the subform from tab 2 to requery but then it movees to the first
record in the recordsource instead of the actual record that is still
selected in the dropdown.

I can put a button on tab 2 which refreshes and resynchs up the records to
the one that is selected on the drop down.  Hope that makes sense.
Al Campagna - 31 Mar 2007 13:33 GMT
Alex,
  Check out Stephen Leban's SetGetSB
http://www.lebans.com/setgetsb.htm
  It allows a subform to be requeried, and returns the sub to the same record and
position as before the requery.

Signature

hth
Al Campagna . Candia Computer Consulting . Candia, NH USA
Microsoft Access MVP
http://home.comcast.net/~cccsolutions

"Find a job that you love, and you'll never work a day in your life."

>I have a form that has 2 subforms on a tab control.  The 2 subforms have
> similar record sources.  When I make changes on tab 1 - the information
[quoted text clipped - 8 lines]
> I can put a button on tab 2 which refreshes and resynchs up the records to
> the one that is selected on the drop down.  Hope that makes sense.
 
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.