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

Tip: Looking for answers? Try searching our database.

Another Synchornizing Subforms  Q

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
simplymidori - 01 Mar 2008 06:00 GMT
Okay I have a main form with 2 continous subforms.

Subform1   -  sbfmClientSearch with a wildcard search by client field.  

I type "Toy" I get every client that contains this text.  I placed a check
box so I can select the exact client I want to see details in Subform2.

Subform2   - sbfmCustDetail

I'm still struggling with the check box and linking the master/child fields.
Is this possible?  Any suggestions.
ruralguy - 01 Mar 2008 19:00 GMT
Create an invisible (visible for testing) TextBox on the MainForm.  Set the
ControlSource to SubFormControl1Name.FORM.IDControlOnThisForm
The ID should be available in the SubForm2 as well.
Now Set the LinkMasterField of SubFormControl2 to point to this invisible
TextBox and the LinkChildField to point to the correct field in that SubForm.

No CheckBox needed! Just clicking on a record in SubForm2 will change the
CurrentRecord of that SubForm and the ID field as well.

>Okay I have a main form with 2 continous subforms.
>
[quoted text clipped - 7 lines]
>I'm still struggling with the check box and linking the master/child fields.
> Is this possible?  Any suggestions.

Signature

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

simplymidori - 01 Mar 2008 22:22 GMT
Thank you this helped!

> Create an invisible (visible for testing) TextBox on the MainForm.  Set the
> ControlSource to SubFormControl1Name.FORM.IDControlOnThisForm
[quoted text clipped - 16 lines]
> >I'm still struggling with the check box and linking the master/child fields.
> > Is this possible?  Any suggestions.
 
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.