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 1 / February 2006

Tip: Looking for answers? Try searching our database.

Synchronizing 2 subforms of same table

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
planetthoughtful - 27 Feb 2006 00:33 GMT
Hi All,

I have a form that tracks problem issues. On that form I would like to
have 2 subforms with 1-to-many notes associated with each problem. On
the first subform I'd like to show a datasheet view of the associated
notes, with datecreated and notesubject. On the 2nd subform I'd like to
show a single form view of the actual note memo field.

I've placed an invisible sychronization field on the main form, which I
update from the On Current event of the first subform. The 2nd subform
uses this in the Link Master and Link Child fields.

It mostly works okay, but when I create a new record in the first
subform, and then click in the second subform to add the actual notes,
the second subform hasn't syched to the newly created record in the
first subform.

I'm wondering if anyone can tell me how I go about making this happen
automatically?

Note: Access 2003, if that's important.

Many thanks in advance!

Much warmth,

planetthoughtful

---
"Lost in thought"
http://www.planetthoughtful.org
tina - 27 Feb 2006 02:16 GMT
when you add a new record in the first subform, after the record is saved to
the table, you'll need to requery the second subform so that the newly
created record is included in the recordset. you might try using the first
subform's Form_AfterUpdate event procedure.

hth

> Hi All,
>
[quoted text clipped - 27 lines]
> "Lost in thought"
> http://www.planetthoughtful.org
 
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.