PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
Parcourir une tables hyperfile via une clé par ordre croissant
Parcourir une tables hyperfile via une clé par ordre croissant
Started by alain, Feb., 09 2006 5:44 PM - 3 replies
Connect yourself…
alain
#1
Posted on February, 09 2006 - 5:44 PM
Bonjour je n'arrive pas a parcourrir ma table hyperfile via une clé composé par ordre croissant.
Dans une boucle du type :
hlitpremier(matable, "maclé")
Tantque pas hendehors() alors
matable2.Nom = matable.Nom
hajoute(matable2)
hlitsuivant(matable, "maclé")
FIN
les enregistrements ne sont pas classés.
Merci d'avance
alain
Report
0
0
Luc St-Yves
#2
Posted on February, 09 2006 - 6:18 PM
C'est une clé composée, donc tu dois toujours utiliser hConstruitValClé().
Voir l'aide.
Ceci te donneras donc :
hlitPremier( ma_table, ma_cle_Composee, hConstruitValVlé( ma_table, ma_cle_Composee, Element1, Element2, ... ), hIdentique+hBlocageNon)
de même pour hLitSuivant
Luc
Report
0
0
YORK
#3
Posted on February, 09 2006 - 6:19 PM
un exemple de fiches non classées ?
Report
0
0
alain
#4
Posted on February, 10 2006 - 12:30 PM
Merci beaucoup pour la réponse ca fonctionne
Alain
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
WEBDEV (earlier versions)
WINDEV Mobile (earlier versions)
Reports & Queries
Off-topic
Tools
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