FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WEBDEV 2024
→
Help me! for a looper
Help me! for a looper
Débuté par Mimmo Ghiara, 03 oct. 2019 11:29 - Aucune réponse
Connectez-vous…
Mimmo Ghiara
#1
Posté le 03 octobre 2019 - 11:29
Hello to all
I have a problem with a looper I have better with a pop up menu that I do a query on a looper
The looper has three fields: image, name, id linked to a table in a database.
The table has 4 fields: id, name, image, round
The table has 160 records divided by 8 rounds
The pop up menu has 9 lines the first contains a phrase "Search" the remaining 8 have "group 1" --- "group 2" and so on until as 8
I load the looper by code and when the visualization starts everything is ok
But if I search through the pop-up menu the names of a group, name and id are displayed correctly, while the invincible image of being of record 42 starts to always display them from the first image in tablella
I enter the code with which I do the search
sSearch is string 50
sSearching = COMBO_PAGE_mie_squadre..DisplayedValue
// sSearching = group 1 or group 2 etc.
LooperDeleteAll (LOOP_Squadre)
i is int = 1
HReadSeekFirst (teams, group, sRicerca)
WHILE HOut () = False
LooperInsertLine (LOOP_Squadre, teams.ID, teams.name, teams.image)
HReadNext (teams, group)
i++
END
In teams.immagine instead of loading the image of the ID corresponding to the record always loads the images starting from id 1
There is a way to solve the problem?
Thank's
Mimmo
Signaler
0
0
→ Revenir à WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte