C Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesC Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 30th, 2003, 08:54 AM
4dr14n's Avatar
4dr14n 4dr14n is offline
Huh?
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Scotland, UK
Posts: 223 4dr14n User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 Days 4 h 16 m 20 sec
Reputation Power: 6
ComboBoxes in BCB.

Does anybody know how to use Combo boxes in BCB V6? I need the box to list al the items in a table from a mysql db. I set up the connection, dataset and providers with no difficulty and if i choose to use a grid to display the items from the database it works fine. However, when i use a combo box it only shows the first item from the table.

I was initially using an sql connection but then changed to an ado connection. I thought the problem may have been that i was using a uni-directional data-set. Does this sound likely and how do i overcome it?

Any help is appreciated!

TIA
__________________
-----------------------------------------------------------
4dr14n

Reply With Quote
  #2  
Old June 30th, 2003, 10:35 AM
AGibel's Avatar
AGibel AGibel is offline
Bad Andy
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: OH
Posts: 275 AGibel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Just go into the help and type TComboBox. It will list any examples and/or implementation.

Reply With Quote
  #3  
Old June 30th, 2003, 10:45 AM
4dr14n's Avatar
4dr14n 4dr14n is offline
Huh?
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Scotland, UK
Posts: 223 4dr14n User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 Days 4 h 16 m 20 sec
Reputation Power: 6
Hi!

Getting to be a habit that you answer my posts!!

I had tried the help files before posting on here but they did not help very much!

A colleague managed to steer me in the right direction and i found out my problem.

I was using a DBComboBox and trying to get info from the database which would not work. Instead i used a regular ComboBox and took the info from the dataset and it worked fine.

Thanks, once again, for taking the time to reply!

Reply With Quote
  #4  
Old June 30th, 2003, 03:26 PM
AGibel's Avatar
AGibel AGibel is offline
Bad Andy
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: OH
Posts: 275 AGibel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
lol np. I see BCB and go in just to see if I can help and maybe learn something myself.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesC Programming > ComboBoxes in BCB.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT