473,503 Members | 1,747 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Lookup comboboxes in join-table forms

3 New Member
Hi!

Lookup combos seem not to work in my special case.
I try to demonstrate my problem with these two pictures:

Image 1
Image 2

Does anyone know the standard solution to my problem?

Thanks.
Nov 12 '08 #1
3 902
Frinavale
9,735 Recognized Expert Moderator Expert
I'd recommend that you create 2 data sources instead of sharing them and in the Selected Index Changed events make sure that they correspond with one another.

In the future could you please provide error details about your problem is?
Thanks.

-Frinny
Nov 12 '08 #2
prog123
3 New Member
I have recreated my DataSets so that now I have 3 separate DataSets (Divisions, Employees, DivisionsEmployees), and still my problem remains.

The more concrete details of my problem is the following.
I click the "Add New" icon, a new record is created within the memory.
I click the "DivisionsComboBox", and select one of the divisions listed by name.
After creating the record and selecting a division I cannot set the focus on "EmployeesComboBox", because the focus stays on "DivisionsComboBox".
Nov 13 '08 #3
Frinavale
9,735 Recognized Expert Moderator Expert
I have recreated my DataSets so that now I have 3 separate DataSets (Divisions, Employees, DivisionsEmployees), and still my problem remains.

The more concrete details of my problem is the following.
I click the "Add New" icon, a new record is created within the memory.
I click the "DivisionsComboBox", and select one of the divisions listed by name.
After creating the record and selecting a division I cannot set the focus on "EmployeesComboBox", because the focus stays on "DivisionsComboBox".
Wow, I thought you were facing a completely different problem....
This is a perfect example of why you need to provide more details in the future.

Anyways, when do you want the focus to change?
After you select a Division?
In that case you should implement this in your SelectedIndexChanged event.
I'd have to see what you're doing....or you're going to have to explain it in more detail.

What have you tried so far to solve your problem?

-Frinny

(Please remember to use code tags when posting code snippets)
Nov 13 '08 #4

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

Similar topics

1
470
by: gudia | last post by:
David: It is not a join as keys are not present in both the tables; between will just restrict the values for test_val. However, the following solution has been proposed by Joe Celko, which...
5
1386
by: Susan Bricker | last post by:
Any idea why a combobox would not populate? When the form is opened, it is opened with DOCMD.OPENFORM with selection criteria to send only those records for a particular dog (dogregnbr). The...
1
1295
by: Craig G | last post by:
for months we have been dabling round looking at various 3rd party comboboxes that allow the user to type text into the combobox as a search mechanism what we've found is that the likes of...
1
379
by: Marcin Podle¶ny | last post by:
Hi, I've a form with three comboboxes. Each of them contains the same data - all cities in my country. As you see it's a lot of data so it takes a lot of memory. I'd like to use the same...
2
2610
by: David Pratt | last post by:
Hi. I like working with lists of dictionaries since order is preserved in a list when I want order and the dictionaries make it explicit what I have got inside them. I find this combination very...
8
7029
by: rh0dium | last post by:
Hi all, I have a dict which looks like this.. dict={'130nm': {'umc': }, '180nm': {'chartered': , 'tsmc': }, '250nm': {'umc': , 'tsmc': } }
1
1117
by: John | last post by:
Hi I have a client table with clients and their ids. Some client names are duplicate as they have several locations but ids are unique, so for example; ID Company 23 MyCompany Inc 27 ...
2
1749
by: ashishtarlekar | last post by:
Hi all, I have to add comboboxes in the first row of datagridview for mapping the database fields. For e.g. I have to show Id, FirstName, LastName in each comboboxes in the first row. if i select...
2
11437
by: Matt | last post by:
Hi all, me again! :) I've now got an issue with combo boxes. Basically, I have a number of items that I want a user to pick from a single list. It's basically along the lines of: Fruit 1: ...
2
1978
by: Wingot | last post by:
Hey, I have a view to a database that I have created for Client Maintenance. It has a number of fields, but the important ones are Medical Condition, Bill To, and Country. I have a couple of...
0
7203
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
7087
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7281
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
5579
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4675
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
3156
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1514
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
737
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
383
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.