GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV Mobile 2024
→
Filtering a database for a multiline zone
Filtering a database for a multiline zone
Iniciado por Ben, jan., 09 2017 10:39 PM - 1 resposta
Conecte-se…
Ben
#1
Publicado em janeiro, 09 2017 - 10:39 PM
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
Denunciar
0
0
Fabrice Harari
#2
Publicado em janeiro, 10 2017 - 1:14 PM
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
Denunciar
0
0
→ Voltar para WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto