If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > can't seem to get data from a column to a dbcombobox

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-27-04, 12:00
ArnMan ArnMan is offline
Registered User
 
Join Date: May 2004
Posts: 45
can't seem to get data from a column to a dbcombobox

Hello,
I am having trouble getting my dbcombobox, also the dblookupcombobox, to look at my table that I created in database desktop.
I have made a simple table to test from until I get the hang of it.
I have a datasource, tquery, database, and a dbcombobox on my form, I have set up the alias and databasename, connected true
I have the dbcombobox datasource set to datasource1
Ihave a tquery.databasename set to database1 and the sql query saying
SELECT Yearnum //Column name
FROM vehicleselect // my table name they have correct upper and lower case

and I have my datasource1.dataset set to query1
and when I run, I have a combobox, that doesn't bring up any information.
I have put in some data in the table to test with.

What have I missed to make it not work?

Thank you
Paul
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On