PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → WD10 - Combo seek - bug or misinterpretation?
WD10 - Combo seek - bug or misinterpretation?
Débuté par Norbert Gutscher, 20 juin 2006 23:41 - Aucune réponse
Posté le 20 juin 2006 - 23:41
1. Definiton
Displayed column : SV_title
Search item: SV_ID,ID
// Initialisation
nSelect is int
nSelect = ListSeek(Combo_SV1,gnComboAlbumNr,True,1)
Trace(nSelect " " gnComboAlbumNr)
// results: nSelect = -1 gnComboAlbumNr = 13
// wrong nSelect
2. Definiton
Displayed column : SV_ID
Search item: SV_ID,ID
// results: nSelect = 4 gnComboAlbumNr = 13
// correct
I don't want display the number, but the title.
In my interpretation WD should seek for the number and display the title.
Where is the mistake please.
Best Regards and thanks for help
Norbert