PC SOFT

PROFESSIONAL NEWSGROUPS
WINDEVWEBDEV and WINDEV Mobile

Home → WINDEV 25 → Refreshing table contents
Refreshing table contents
Started by Antonio Díaz, Apr., 06 2021 10:03 PM - 2 replies
Registered member
47 messages
Posted on April, 06 2021 - 10:03 PM
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.
Posted on April, 07 2021 - 8:22 AM
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
Posted on April, 07 2021 - 1:25 PM
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)