Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referencing specific combobox column
Message
De
30/07/2002 08:57:24
 
 
À
30/07/2002 08:36:06
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00683860
Message ID:
00683874
Vues:
23
Sorry I wasn't very clear on my problem.
Eric showed me how to get 2 columns to show in the combobox, but now I need to reference the first COLUMN not the first item. For example, if my combobox displayed the following:
0001    item1
0002    item2
0003    item3
I want to lookup values in "mytable" based on the first column.
select * from my table where id =  (column 1 of the selected list item)
In other words, if the user selected item2, I want to find a record in mytable where the id = 0002.
Here's to alcohol...the cause of ... and solution to ... all of life's problems - - Homer J. Simpson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform