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 / Reports / Printing / December 2005

Tip: Looking for answers? Try searching our database.

Need 2 parameters to limit criteria on a report

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gg - 07 Dec 2005 21:36 GMT
If I have 2 unbound controls on a form, ie. num_no and types, how do I limit
the types to only those types that are related to the num_no and pass these
to a report. (i.e. if num_no=1, then the only available types=A,B; if
num_no=2, available types=A,B,C).  Currently, the tables being referred to
for each control are independent, and the combination of these 2 controls
(what the user is selecting from these 2 combo boxes) is what I need to pass
to the report.

Thank you in advance. :-)

gg
Douglas J. Steele - 07 Dec 2005 22:59 GMT
In the AfterUpdate of the first combo, put code to set the RowSource of the
other combo.

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

> If I have 2 unbound controls on a form, ie. num_no and types, how do I
> limit
[quoted text clipped - 10 lines]
>
> gg
gg - 07 Dec 2005 23:28 GMT
Could you please be more specific as to the syntax I need to use in the
AfterUpdate event?  Are you talking about adding a query to limit the
selection in a where statement?  Sorry.

Thanks!

> In the AfterUpdate of the first combo, put code to set the RowSource of the
> other combo.
[quoted text clipped - 13 lines]
> >
> > gg
Douglas J. Steele - 08 Dec 2005 23:21 GMT
Take a look at http://www.mvps.org/access/forms/frm0028.htm at "The Access
Web"

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

> Could you please be more specific as to the syntax I need to use in the
> AfterUpdate event?  Are you talking about adding a query to limit the
[quoted text clipped - 22 lines]
>> >
>> > gg
 
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.