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.

Open a form using a link to a Previous Subform

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mr.wizzard - 28 Mar 2007 03:02 GMT
Sorry if this is a little bit of a noob questions,  I have a Form (frm.a)
that has two subform (datasheet view, sub.a, sub.b).  I want to open a
additional form based on the active line in sub.a or sub.b.  as it links to
that data.

When I insert the command botton on the form it asks for the link for the
data, it only displays the frm.a controls, and the form I am opening
controls.  Is there a way to get it to link to the sub form controls?  Or am
I just going about this the wrong way?

Thanks
Stefan Hoffmann - 28 Mar 2007 09:18 GMT
hi,

> When I insert the command botton on the form it asks for the link for the
> data, it only displays the frm.a controls, and the form I am opening
> controls.  Is there a way to get it to link to the sub form controls?  
You can access your subforms from your main form using the subform
control, e.g.:

  MsgBox subformctrl.Form![ID]

'subformctrl' is the name of the subform control, not of the loaded
subforms.

mfG
--> stefan <--
 
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.