Create a routine/loop

Ninox Profile

Hello to all
I would need to create a button that creates a routine / loop.
I mean when I press the button it should take all records of a table 'X' which contain 'field A' = true and make them all become 'field A' = false
It's possible?

F

How about something like this:

 

for loop1 in select Table1 where 'field A' = 0 do
loop1.('field A' := 1)
end

 

If this is a one time data correction then doing a Update Multiple Records would be a faster way to go.

Ninox Profile

Simply perfect!!!
GREAT!!

many THANKS

Reply