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 / July 2005

Tip: Looking for answers? Try searching our database.

Combo Box Value for Subform Result

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
asid - 08 Jul 2005 04:14 GMT
I need help and suggestion on inventory form that require to combine 2 combo
box value that will determine the result on the subform
Ofer - 08 Jul 2005 08:22 GMT
There are few ways to do that, I'll give you a couple of them
1. Use the Father Child properties to link the form to the subform, using
the values of the combo boxes for the father and the link fields in the sub
form as the child value
==============================
2. link the recordsource of the sub form to the two combo boxes

Select * From Inventory Where Field1= forms![MainFormName]![Combo1Name] And
Field2= Forms![MainFormName]![Combo2Name]

You need to refresh the sub form every time you change the value in the
combo, so enter the code me.SubFormName.Requery on the after update event of
each combo.
=====================

I hope that help

> I need help and suggestion on inventory form that require to combine 2 combo
> box value that will determine the result on the subform
 
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.