FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
hseekfirst & hreadseek
hseekfirst & hreadseek
Débuté par charles candy, 15 aoû. 2004 08:52 - 2 réponses
Connectez-vous…
charles candy
#1
Posté le 15 août 2004 - 08:52
I confuse with these function .
the different is using hreadseek I able to get the data , so what is purpose of hseekfirst? , when I try it it set hfound to true but when i try to show the value, nothing come out, why?
Signaler
0
0
Guenter Predl
#2
Posté le 15 août 2004 - 09:43
Hi,
HreadSeekFirst(..) reads the first record of a (presumably) consecutive number of identical keys. Means, HreadSeekFirst(..) is not for unique keys, it's used to read an index with duplicates. HreadSeek(..) is for indices with unique key values ..
Commands HreadSeek(First)(..) work quite fine. 'Nothing come out' may be because you did no FileToScreen()? If this is not the solution, please post the code snippet showing what you're trying to do.
Regards, Guenter
I confuse with these function .
the different is using hreadseek I able to get the data , so what is purpose of hseekfirst? , when I try it it set hfound to true but when i try to show the value, nothing come out, why?
Signaler
0
0
brian pottorff
#3
Posté le 16 août 2004 - 05:01
Hello Charles,
The 5.5 documentation is clearer about the advantage of HSeek(), (now HSeekFirst()). If you need to know that a key exists, but you don't need to have the data, HSeek() is faster because it doesn't read. Examples: Is '78650' a valid zip code? For spell checking, is 'strawberry' in the list of valid English words?
I confuse with these function .
the different is using hreadseek I able to get the data , so what is purpose of hseekfirst? , when I try it it set hfound to true but when i try to show the value, nothing come out, why?
Signaler
0
0
→ Revenir à WINDEV 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