0

Create a routine/loop

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?

2 replies

null
    • Fred
    • 2 yrs ago
    • Reported - view

    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.

    • TESTXFREE
    • Bobo
    • 2 yrs ago
    • Reported - view

    Simply perfect!!!
    GREAT!!

    many THANKS

Content aside

  • 2 yrs agoLast active
  • 2Replies
  • 441Views