FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WINDEV 2024
→
WB22 - Data Source Search
WB22 - Data Source Search
Iniciado por André Labuschagné, 17,jul. 2018 11:49 - 6 respuestas
Conéctese…
André Labuschagné
#1
Publicado el 17,julio 2018 - 11:49
Hi All
Is there anyway that a data source can be searched for a value on a field without having to loop thought the data source?
Cheers
André
Informar
0
0
Dutch Developer
#2
Publicado el 17,julio 2018 - 12:12
Of course: queries !
Cheers,
DD
Informar
0
0
Fabrice Harari
#3
Publicado el 17,julio 2018 - 13:14
Hi André
easily
lets says that your data source is a query. you can do a hreadseek (or anyhting else hxxxx) on any of the fields of your query, as your datasource, once initialized, is the same as any other file of your db.
Best regards
Informar
0
0
André Labuschagné
#4
Publicado el 18,julio 2018 - 15:08
Hi Fabrice
The data source is not a query. It is filled programmatically using HExecuteSQLQuery. I seem to get an error using any of the H commands on that.
Cheers
André
Informar
0
0
Ericus
#5
Publicado el 18,julio 2018 - 22:08
Hi Andre
Did you do a HReadFirst after running your HExecuteSQLQuery?
Then do your search.
Also you did test that your HExecuteSQLQuery did not fail?
Regards
Ericus Steyn
Informar
0
0
André Labuschagné
#6
Publicado el 19,julio 2018 - 00:19
Hi Ericus
There are records - the execute did not fail.
Nope - will try that.
Cheers
André
Informar
0
0
DarrenF
#7
Publicado el 19,julio 2018 - 09:54
André,
If that doesn't work, show us some code; it might help us to understand...
Informar
0
0
→ Volver a WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto