FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
Filtering a database for a multiline zone
Filtering a database for a multiline zone
Débuté par Ben, 09 jan. 2017 22:39 - 1 réponse
Connectez-vous…
Ben
#1
Posté le 09 janvier 2017 - 22:39
Hi, currently I am building an app for event logging. I have a page where on the left you select an event and its details are displayed. Part of this is a list of attending people, Currently I am using the following code but it doesn't seem to be filtering correctly. What am i doing wrong?
HReadSeekFirst(Client_RoadShow,RoadShowID,Form)
WHILE HFound()
HReadSeekFirst(Client,ClientID,Client_RoadShow.ClientID)
nLine is int = mlzAddLine(MZ_Clients)
MZ_Clients[nLine].STC_Title = Client.Name
MZ_Clients[nLine].STC_Business = Client.Business
HReadNext(Client_RoadShow)
END
Signaler
0
0
Fabrice Harari
#2
Posté le 10 janvier 2017 - 13:14
Hi Ben
it looks like you are missing the key in the hreadnext (it needs to be
the same key than in the hreaseekfirst, so that the compilers knows the
two are linked)
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)
More information on
http://www.fabriceharari.com
Le 1/9/2017 à 4:39 PM, Ben a écrit :
Hi, currently I am building an app for event logging. I have a page
where on the left you select an event and its details are displayed.
Part of this is a list of attending people, Currently I am using the
following code but it doesn't seem to be filtering correctly. What am i
doing wrong?
HReadSeekFirst(Client_RoadShow,RoadShowID,Form)
WHILE HFound() HReadSeekFirst(Client,ClientID,Client_RoadShow.ClientID)
nLine is int = mlzAddLine(MZ_Clients)
MZ_Clients[nLine].STC_Title = Client.Name
MZ_Clients[nLine].STC_Business = Client.Business
HReadNext(Client_RoadShow)
END
Signaler
0
0
→ Revenir à WINDEV Mobile 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