PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
Help me! for a looper
Help me! for a looper
Started by Mimmo Ghiara, Oct., 03 2019 11:29 AM - No answer
Connect yourself…
Mimmo Ghiara
#1
Posted on October, 03 2019 - 11:29 AM
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
Report
0
0
→ Go back to WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text