PC Review


Reply
Thread Tools Rate Thread

Combo Box on Main Form and limits Combo Box selection on the Subfo

 
 
Dan H.
Guest
Posts: n/a
 
      18th Jun 2008
I've read several of the Cascading Combo and I'm still a bit confused please
help.

I have 3 tables:

1st table "Controls" - Main table
Location_Id (Auto)
Location (Key)
1stQtr Money
2nd, 3rd, and 4th


2nd Table "Control Number"
ControlNumberIDv(key)
ControlNumber
Location (1 to Many)

3rd Table "Confirmation Table"
Confirmation_Id (Key)
Location (1 to Many)
Date Processed

I have a "Main form" which uses "Controls" as it source and a subform called
"Confirmation Subform" which uses the "confirmation Table" as it's source.
On the Main Form I have a Combo Box for "Location". On the subform I want a
Combo or List box which will display only those records associated with the
location from the main form.


Thank You

 
Reply With Quote
 
 
 
 
pietlinden@hotmail.com
Guest
Posts: n/a
 
      18th Jun 2008
On Jun 18, 1:57*pm, Dan H. <D...@discussions.microsoft.com> wrote:
> I've read several of the Cascading Combo and I'm still a bit confused please
> help.
>
> I have 3 tables:
>
> 1st table "Controls" - Main table
> * Location_Id (Auto)
> * Location (Key)
> * 1stQtr Money
> * 2nd, 3rd, and 4th
>
> 2nd Table "Control Number"
> * ControlNumberIDv(key)
> * ControlNumber
> * Location (1 to Many)
>
> 3rd Table "Confirmation Table"
> * Confirmation_Id (Key)
> * Location (1 to Many)
> * Date Processed
>
> I have a "Main form" which uses "Controls" as it source and a subform called
> "Confirmation Subform" which uses the "confirmation Table" as it's source.. *
> On the Main Form I have a Combo Box for "Location". *On the subform I want a
> Combo or List box which will display only those records associated with the
> location from the main form.
>
> Thank You


check out the article on AccessWeb
http://www.mvps.org/access/forms/frm0028.htm

you might also want to read this one to help you to sort out
referencing controls on mainforms and subforms etc.
http://www.mvps.org/access/forms/frm0031.htm
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sync Main Form with Subform after Combo Selection Confused Microsoft Access 2 20th Jun 2009 07:27 PM
Lock subform if combo in main form is null (no selection) JK Microsoft Access 3 11th Jul 2008 06:03 PM
Data in subform combo box not determined by main form selection =?Utf-8?B?RGF2aWQgRXdlcg==?= Microsoft Access Forms 0 11th Aug 2005 01:05 PM
Trying to add records to a subform based upon selection in a combo box on the main form Jasonm Microsoft Access Form Coding 2 3rd Jul 2005 03:42 AM
Subform display based on main form combo selection Kyle Microsoft Access Forms 1 1st Apr 2004 08:01 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:47 PM.