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

Tip: Looking for answers? Try searching our database.

Subform Linking To Multiple Master Fields

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ange Kappas - 05 Feb 2008 18:30 GMT
Hi
I have a subform which is based on a query named ACCOUNTS
with the fields:
Name
Company
Arrival (which is date field)
Departure (which is date field)
Charge

In the Form named ACCOUNTS SEARCH I have controls named:
Pick Company (Which is a combo box)
Pick Arrival  (which is date field)
Pick Departure  (which is date field)

I want to set the criteria in the controls Pick Company, Pick Arrival and
Pick Departure to filter out in the subform the records I want.

Thanks
KARL DEWEY - 05 Feb 2008 18:57 GMT
You can use more than one field in Master and Child linking fields.  
I have not done it but first try with commas as separators.  
The fields must be of same DataType like this ---
Text, DateTime, Number-long integer --- Master
Text, DateTime, Number-long integer --- Child

Signature

KARL DEWEY
Build a little - Test a little

> Hi
> I have a subform which is based on a query named ACCOUNTS
[quoted text clipped - 14 lines]
>
> Thanks
Ange Kappas - 05 Feb 2008 19:15 GMT
Thanks it works
Ange

> You can use more than one field in Master and Child linking fields.
> I have not done it but first try with commas as separators.
[quoted text clipped - 20 lines]
>>
>> Thanks
 
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.