473,378 Members | 1,110 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

How can I get my Combo box to work with my subform correctly

On my main Form I have 1 unbound combo box
[Customer Name] that references a query. The option chosen from the combo box would retrieve the matching record, and would display it on the subform.

Example:

Customer1 Feb-10
Customer1 Sept-10

Here is the issue at hand. If you select the Customer1 Feb-10 from the combo box the record information is displayed on the subform, but when you go and select the second option Customer1 Sept-10 from the combo box the subform still displays the Customer1 Feb-10 and the only way you can view the Customer1 Sept-10 on the subform is to use the Page-Up and Page-Down button on the keyboard from that subform. Is there a way to correct this issue, so that when the option is selected from the combo box it displays on the subform automatically?

Thank you in advance.
Nov 10 '10 #1
1 1088
TheSmileyCoder
2,322 Expert Mod 2GB
Hi and welcome to Bytes.

If you want your combobox to function as a "goto", you need to either have code attached to the combobox's update event, or have the subform setup as linked to the combobox.

Do you have any code (or macro) attached to the combobox at present? How did you create the combobox in the first place?
Nov 11 '10 #2

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

Similar topics

1
by: martim07 | last post by:
I am doing all of my coding with VBA.I have a Combo Box that is populated with values from a field. When I click on any item in the Combo Box it brings up a sub form. It works fine except for the...
12
by: MLH | last post by:
I have created two forms: frmBrowseNegsMainform and frmBrowseNegsSubform. I put a subform control on the first of these. The SourceObject property for the subform control is, of course,...
1
by: MP | last post by:
I have a main form that has a subform which also has a subform: the main form is the first subform is the second subform is When I click on the button »AddNewSubSubRecord« (add a new record...
1
by: Daniel | last post by:
Hi there, I've been having a problem with binding to a combo box. I'm binding to a third party dataset table view. When on the selected tab page and you click a certain tree node it will fire a...
18
by: Vayse | last post by:
Has anyone an example of filling a combo box with a data reader? Thanks Vayse
8
by: salad | last post by:
I was wondering how you handle active/inactive elements in a combo box. Let's say you have a combo box to select an employee. Joe Blow has been selected for many record however Joe has left the...
1
by: wayniac | last post by:
What I am trying to do is select an item from the combo box and have it displayed in the subform. Then once you scroll though the subform and find the field you like, click on it and it will...
2
by: biganthony via AccessMonster.com | last post by:
Hi, I decided to install Office 2003 Service Pack 3 on my home computer to test (in full knowledge that there may be some issues with it). After installation, I have noticed that with a small...
3
klarae99
by: klarae99 | last post by:
Hello, I am using Access 2003 to design an inventory database. Please be pacient with this question, I am not sure how exactly to explain what is happening concisely but I will do my best. I...
4
by: gscott1 | last post by:
I have a combo box on a form. When I click the arrow button I get a popup saying "Enter Parameter Value" in the blue title bar and below the title says Outage.ID. (Outage is the name of the table I...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

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.