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 / May 2008

Tip: Looking for answers? Try searching our database.

Update detail record through form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Craig - 30 May 2008 21:50 GMT
Hello.  I'm using Access 2003.  My question is how can I update the detail
(child) ID field if the user changes the header record through a main
form/sub form?

ex.:

Header
----------
1  |  Joe Smith
2  |  Sally Jones
3  |  Frank Adams

Detail
---------
1  |  1  |  Joe Smith detail
2  |  1  |  Joe Smith detail
3  |  1  |  Joe Smith detail
4  |  2  |  Sally Jones detail
5  |  2  |  Sally Jones detail
6  |  3  |  Frank Adams detail
7  |  3  |  Frank Adams detail

If the user changes the value in the combo box from Joe Smith to Sally
Jones, the detail records need to update to reflect this.  How do you do
this??

Thanks for the assistance.
Signature

Craig

ruralguy - 30 May 2008 22:12 GMT
If I understand you correctly, the SubForm (Detail) is kept syncronized by
properly completing the SubFormControl's LinkChild/MasterField properties.

>Hello.  I'm using Access 2003.  My question is how can I update the detail
>(child) ID field if the user changes the header record through a main
[quoted text clipped - 23 lines]
>
>Thanks for the assistance.

Signature

RuralGuy (RG for short) aka Allan Bunch MS Access MVP - acXP WinXP Pro
Please post back to this forum so all may benefit.

Craig - 30 May 2008 23:11 GMT
Yes, that's true.

However, when the user changes the combobox value, how does the headerID
field in the detail table get updated??  As it stands right now, IT DOES NOT.

Thanks.
Signature

Craig

> If I understand you correctly, the SubForm (Detail) is kept syncronized by
> properly completing the SubFormControl's LinkChild/MasterField properties.
[quoted text clipped - 26 lines]
> >
> >Thanks for the assistance.
ruralguy - 31 May 2008 02:17 GMT
How is the value of the ComboBox related to the LinkChild/MasterFields?

>Yes, that's true.
>
[quoted text clipped - 7 lines]
>> >
>> >Thanks for the assistance.

Signature

RuralGuy (RG for short) aka Allan Bunch MS Access MVP - acXP WinXP Pro
Please post back to this forum so all may benefit.

 
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.