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.

How do I access a parameter in a sub form?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JohnGraeagle - 18 May 2008 09:18 GMT
I have a main form that contains a sub form.  I have a form that prompts for
the parameters (on open) but the sub form prompts for the paramters before my
form is called.  If I eliminate the form and use the paramters that the sub
form prompts for then I don't know how to name them in the main form.

Appreciate any help you can give me!
Jeff Boyce - 18 May 2008 12:11 GMT
John

To refer to controls on a subform, you use something like (untested):

   Forms!YourMainForm!YouSubFormControlName!Form.YourControlOnTheSubForm

Signature

Regards

Jeff Boyce
www.InformationFutures.net

Microsoft Office/Access MVP
http://mvp.support.microsoft.com/

Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/

> I have a main form that contains a sub form.  I have a form that prompts for
> the parameters (on open) but the sub form prompts for the paramters before my
> form is called.  If I eliminate the form and use the paramters that the sub
> form prompts for then I don't know how to name them in the main form.
>
> Appreciate any help you can give me!
JohnGraeagle - 18 May 2008 23:18 GMT
That helps but how would you use that format to refer to a prompted parameter
value?

> John
>
[quoted text clipped - 11 lines]
> >
> > Appreciate any help you can give me!
Jeff Boyce - 20 May 2008 13:39 GMT
John

We may not share the same definitions...

What do you mean by "a prompted parameter value"?  In what context?

Signature

Regards

Jeff Boyce
www.InformationFutures.net

Microsoft Office/Access MVP
http://mvp.support.microsoft.com/

Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/

> That helps but how would you use that format to refer to a prompted parameter
> value?
>
> > John
> >
> > To refer to controls on a subform, you use something like (untested):

Forms!YourMainForm!YouSubFormControlName!Form.YourControlOnTheSubForm

> > > I have a main form that contains a sub form.  I have a form that prompts
> > for
[quoted text clipped - 5 lines]
> > >
> > > Appreciate any help you can give me!
 
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.