472,328 Members | 1,420 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

data bind combobox issue

I have a table that I dragged onto a form from a dataset. I changed some of
the fields to comboboxes and set the data source, display member (text), and
value member (int) to another table within the same dataset. I can start the
form and cycle through existing records. If I click on one of the comboboxes
it will display the text values but then I can no longer click on any other
field. I can continue to click on the same combobox and the form will respond
but otherwise will not and I have to kill the process or stop debugging. The
value member is the correct data type for the table although the display
member is not. Changing the value of CausesValidation to FALSE allows me to
select other fields but then the data is not saved.

What should I be doing different. I am using VS2005 on Vista with 2.0 and
3.0 frameworks installed
--
Regards,
James M
May 22 '07 #1
2 2484
another observation-- If I enter an acceptable value into the combobox, any
integer, as opposed to the text values shown in the list I can move on to
other fields
--
Regards,
James M
"James Martin" wrote:
I have a table that I dragged onto a form from a dataset. I changed some of
the fields to comboboxes and set the data source, display member (text), and
value member (int) to another table within the same dataset. I can start the
form and cycle through existing records. If I click on one of the comboboxes
it will display the text values but then I can no longer click on any other
field. I can continue to click on the same combobox and the form will respond
but otherwise will not and I have to kill the process or stop debugging. The
value member is the correct data type for the table although the display
member is not. Changing the value of CausesValidation to FALSE allows me to
select other fields but then the data is not saved.

What should I be doing different. I am using VS2005 on Vista with 2.0 and
3.0 frameworks installed
--
Regards,
James M
May 22 '07 #2
Hi James,

When you click on the ComboBox and move on to another control on the form,
data binding tries to apply the value(I mean SelectedValue or something
else) of the ComboBox to the underlying data source.

If the ComboBox contains an invalid value to the data source, the input
cursor won't be moved from the ComboBox.

Please check whether the value of the ComboBox is valid to the data source
in your application.

If the problem is still not solved, you may send me a sample project that
could just reproduce the problem. To get my actual email address, remove
'online' from my displayed email address.

Sincerely,
Linda Liu
Microsoft Online Community Support

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
==================================================

This posting is provided "AS IS" with no warranties, and confers no rights.

May 23 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Mr. B | last post by:
I'm updating my current VB.et application. I currently reads about 6 tables from an MS Data base. I've created a new MDB file which combines the 6...
2
by: bds | last post by:
I'm new to .net 2.0 and I'm trying to figure out the best way to create a form that has a couple of controls and one of the controls is a combo box...
1
by: Trent | last post by:
I am in the design phase of a new database and am having a devil of a time with a subform. I have three tables that relate to problem - Suppliers...
4
by: Mike L | last post by:
I'm open for any suggestions on how to better program this. I want the user to select a license from a combo box, cboPrivilege and then the user...
1
by: Sachin Kuchinad | last post by:
Hi All I am using .NET Framework version 1.0.3705 to build a website. Now i have made a webform and on that i have added a dropdown to the page ...
0
by: mjsterz | last post by:
I've been working with VB .NET for less than a year and this is the first time I've posted on one of these groups, so let me apologize beforehand...
2
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. ...
5
by: nagar | last post by:
I'm using data binding to display the values of a dataset in a form. Normally I associate the Text property of the UI element to a field of the...
10
by: =?Utf-8?B?UiBSZXllcw==?= | last post by:
Hi, Problem: How can I databind (or put) a SqlServer query's row return of 115,000 items into a ComboBox quickly? Not much longer than a matter...
0
by: tammygombez | last post by:
Hey fellow JavaFX developers, I'm currently working on a project that involves using a ComboBox in JavaFX, and I've run into a bit of an issue....
0
by: concettolabs | last post by:
In today's business world, businesses are increasingly turning to PowerApps to develop custom business applications. PowerApps is a powerful tool...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
0
by: teenabhardwaj | last post by:
How would one discover a valid source for learning news, comfort, and help for engineering designs? Covering through piles of books takes a lot of...
0
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: CD Tom | last post by:
This happens in runtime 2013 and 2016. When a report is run and then closed a toolbar shows up and the only way to get it to go away is to right...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
1
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...

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.