473,473 Members | 1,730 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Need some Combobox and Subform help PPPlease!!

3 New Member
Hello,

I have created a form with 2 comboboxes (Employee_ID & Order_Num) and 1 Subform (sfOrder_Detail). The way I'm trying to make it work is like this ... you select the Employee in the first CB, then the second CB displays the orders the employee has made (Which it defaults to the first order). The you should be able to select the order number and the order details should be displayed in the subform.
So far both CBs work as stated (by using VB), but if you select an order in the second CB, it doesn't change the subform. Although the subform does display orders and you can change orders by using the nav buttons on the bottom of the form.
Also the Employee CB is bound, but the order CB is unbound. If i change it to bound, i get an error message "Control can't be edited; it's bound to an Autonumber field 'Order_Num' ". Also the Link Maste/Child fields are set to 'Order_Num'.
I am about to put out what little hair i have left! any help would be very appreciated!!!!
Nov 21 '09 #1
1 1658
NeoPa
32,556 Recognized Expert Moderator MVP
Have a look at Example Filtering on a Form or Cascading Combo/List Boxes for fuller help on this.

Essentially I would ensure both CBs are unbound. When an order is selected the form in the subform needs to be filtered to reflect the order selected.

Does that help?

Welcome to Bytes!
Nov 21 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: PeteCresswell | last post by:
I'm looking for some code that makes a list presented in a subform autoscroll in response to the user typing - like a combo box dropdown or a regular ListBox does. I.e. The user is looking at...
0
by: Carl | last post by:
I have a main form with navigation buttons on it and a label showing for example Record 1 of 15 using recordsetclone on it and eveything works fine. When I move through the records the record...
2
by: Claude | last post by:
Let' say we have an application for a production facility running 24/7 broken into 3 shifts 6-2,2-10,10-6 each production report date contains 3 shifts as above in each shift there can be from...
2
by: Bob | last post by:
Hi Everybody I have a form and Datasheet Subform If I select the top of the column ie the title of any one of the columns, I can manually focus on that vertical column. My question; is...
2
by: JohnG | last post by:
Hi, Can we make Dropdownlist perform like Combobox in window? That is I need to be able to type in data in the box besides choosing data from the list? Thanks John
2
by: Prabhudhas Peter | last post by:
I need a ComboBox property like "ItemData" in VB.Net as in VB 6.0. The Idea behind this question is, i've created a user control combo box in vb.net with my own set of properties..now i want to...
7
by: ApexData | last post by:
I am using the following code in my TabControl to manage subform loads. The code assigns the subForms SourceObject. - Do I also need code to DeAssign the SourceObject when leaving the Tab, I'm...
5
by: blakerrr | last post by:
Hi everyone, I have a form called Master Order with a subform in it called Order Info. The subform has a nested subform in it called Order Details. Master Order cycles through all of the parts...
3
by: HowHow | last post by:
In Access 2000, I created a blank form. In the form I have a list box on the left and subform on the right. I need the subform to show the data based on the name that I click/ highlight from list...
2
Fspinelli
by: Fspinelli | last post by:
Hi again! I have a form (parent) that has a subform (child). I know how to make it so the parent form's feilds opens up null, but I need the subform (child) to open up null, too, when this form...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.