PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Refreshing table contents
Refreshing table contents
Iniciado por Antonio Díaz, 06,abr. 2021 22:03 - 2 respuestas
Miembro registrado
70 mensajes
Popularité : +2 (2 votes)
Publicado el 06,abril 2021 - 22:03
Hi guys,

I am updating some record in a table through some code in that same window. I am displaying an icon based on the value of one of the fields that might change in that same code. However, when using TableDisplay, I still keep seing the same icon instead of the one I should see based on that new value. What would be the way to go about this?...

Thank you in advance.

--

Antonio Diaz
Emphasys Software, S.C.
Publicado el 07,abril 2021 - 08:22
Hi. you could - using a global variable - save the unique key of the new / altered record and do a TableDisplay(MyTable, tainit). After that do a TableSeek(..) for the saved key value and do a TableSelectPlus(..) on that record.

Kind regards, Guenter
Publicado el 07,abril 2021 - 13:25
considering that you are not telling us what type of table this is, how it is filled, or what precise code you are using ANYWHERE, the following is PURE speculation:

Your tabledisplay instruction is not using the proper option for your case (see help to identify in which case you are and find the right one)