PC Review


Reply
Thread Tools Rate Thread

Subform linked to combo box

 
 
sharontodd
Guest
Posts: n/a
 
      15th Sep 2009
I have created a form similar to the "Customer Orders" in Northwind sample.
User selects a customer from a combo box and the subform shows all their
orders. A second subform will show the details of any specific order
selected. Everything works except that the first order that shows up for a
customer has its customer name changed to the next customer selected.
Basically, instead of just selecting what customer to view, it is assigning
the new customer to the first order showing in the subform. Everything else
seems to be working fine.

Any thoughts? Thanks
Sharon

 
Reply With Quote
 
 
 
 
David H
Guest
Posts: n/a
 
      15th Sep 2009
Let me guess - You set the .ControlSource of the comboBox to a field in the
underlying table? Delete out the value of the .ControlSource. This will make
the comboBox an unbound field and should stop the updates.

Anytime that you're using Query By Form, the controls used to capture the
criteria should always be unbound. Obviously, the .ControlSource property is
not required.

"sharontodd" wrote:

> I have created a form similar to the "Customer Orders" in Northwind sample.
> User selects a customer from a combo box and the subform shows all their
> orders. A second subform will show the details of any specific order
> selected. Everything works except that the first order that shows up for a
> customer has its customer name changed to the next customer selected.
> Basically, instead of just selecting what customer to view, it is assigning
> the new customer to the first order showing in the subform. Everything else
> seems to be working fine.
>
> Any thoughts? Thanks
> Sharon
>

 
Reply With Quote
 
sharontodd
Guest
Posts: n/a
 
      16th Sep 2009
That's it. Along with changing the Link Master Field to the name of the
combo box.

Thanks!!!!

"David H" wrote:

> Let me guess - You set the .ControlSource of the comboBox to a field in the
> underlying table? Delete out the value of the .ControlSource. This will make
> the comboBox an unbound field and should stop the updates.
>
> Anytime that you're using Query By Form, the controls used to capture the
> criteria should always be unbound. Obviously, the .ControlSource property is
> not required.
>
> "sharontodd" wrote:
>
> > I have created a form similar to the "Customer Orders" in Northwind sample.
> > User selects a customer from a combo box and the subform shows all their
> > orders. A second subform will show the details of any specific order
> > selected. Everything works except that the first order that shows up for a
> > customer has its customer name changed to the next customer selected.
> > Basically, instead of just selecting what customer to view, it is assigning
> > the new customer to the first order showing in the subform. Everything else
> > seems to be working fine.
> >
> > Any thoughts? Thanks
> > Sharon
> >

 
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
Using Linked Combo Boxes with a subform LBRT Microsoft Access Forms 1 3rd Jan 2010 02:48 AM
combo box linked subform values Mitchell_Collen via AccessMonster.com Microsoft Access Forms 2 27th Apr 2007 10:54 PM
Linked combo boxes on subform =?Utf-8?B?SGVsZW5K?= Microsoft Access Forms 3 3rd Dec 2005 07:15 PM
Linked combo box in subform =?Utf-8?B?U2hhbm5vbg==?= Microsoft Access 1 16th Aug 2005 01:15 AM
Subform linked to combo box LindaL. Microsoft Access Forms 1 19th Feb 2004 10:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:09 PM.