DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/)
-   C# (http://www.daniweb.com/forums/forum61.html)
-   -   Perplexed: Combo Box Not Holding Data (http://www.daniweb.com/forums/thread31725.html)

Toulinwoek Sep 3rd, 2005 2:15 pm
Perplexed: Combo Box Not Holding Data
 
I'm having the following problem and can't find a solution:

I have an app with four combo boxes, each of which gets its selection list from tables in a database. Each table has a form that can be used allow the user to populate that table. I have one Combo Box that isn't acting right.

When I run the program, everything works; I can populate the lists, and select items from the list. When I save the record, this one rogue combo box is updated, but if I close and run the app again, or if I navigate to another record and come back, that same combo box is empty, though all the other fields are still populated.

I'm using an Access database, and I've checked it, the databindings, the properties for the combo box and its bindings...etc
I can't find anything that would account for this.

Anyone have any ideas?

Paladine Sep 4th, 2005 2:23 am
Re: Perplexed: Combo Box Not Holding Data
 
provide code with respect to the issue, and we may be able to help!

Toulinwoek Sep 4th, 2005 9:41 am
Re: Perplexed: Combo Box Not Holding Data
 
Sorry, I should have provided code.

Out of frustration, I have removed that combo box from the application. What I'll do, is work on it again this evening and put it back. If I have the same problem, I'll post the code.

Right now, I'm off to church!

Paladine Sep 4th, 2005 10:49 am
Re: Perplexed: Combo Box Not Holding Data
 
Hey sounds good.

My prayers are with you.


All times are GMT -4. The time now is 7:42 pm.

Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC