FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WEBDEV 2024
→
Get value of a column table
Get value of a column table
Iniciado por Juan Luis Marizcal, 15,mar. 2016 18:53 - 2 respuestas
Conéctese…
Juan Luis Marizcal
#1
Publicado el 15,marzo 2016 - 18:53
I have several doubts about the tables.
In my page, I have 2 Tables, table A its the parent and Table B its the child, and I want to choose one of the rows of the parent table and the information about that ID in specific were displayed in the Child Table.
Do you have some recomendations or suggestions of this?
please I have a lot of work here.
Informar
0
0
Diego
#2
Publicado el 19,marzo 2016 - 04:12
Easier way: Use a query Select Fielda, Fieldb,Fieldc from table Child where Child.linktotableParent = tableParent.id
Or you can use TableEnableFilter
Informar
0
0
Mike Peterson
#3
Publicado el 23,marzo 2016 - 15:13
I do this all the time by:
1) On the Table1 Row Select event insert login to pass the Primary Key of the Parent Table1 (usually stored in a hidden Column as the users don't need to see it) into a Query that drives the content of Table2.
-- qry_Table2.param_PK = Table1.Col_PK
-- Specify any additional additional parameters required.
2) Redisplay the table via TableDisplay(Table2, taReExecuteQuery)
You could also set a global variable in step 1 that is used in the Table2 initialization logic. Then you would redisplay with TableDisplay(Table2, taInit).
Informar
0
0
→ Volver a WEBDEV 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