0

Info delete Field

There are some way in Ninox to delete a info inside a field.

I need to delete a range the info inside a field. For example I need to delete all Dates inside the Field Fechas.

4 replies

null
    • Ninox partner
    • RoSoft_Steven.1
    • 2 yrs ago
    • Reported - view

    you can use this to make a field empty:

    Fechas := null

    If you want to do a selection at once you can use a loop structure like:

    for i in select yourTable do
    i.Fechas := null
    end
    

    You can also use a selection for a certain range like : for i in select yourTable where field1= true

    for example.

    Steven

    • Alain_Fontaine
    • 2 yrs ago
    • Reported - view

    It’s even easier, since Ninox will happily set all the component of an array to the same value. One can just write:

    (select yourTable).Fechas := null

    or

    (select yourTable)[field1 = true].Fechas := null

      • Ninox partner
      • RoSoft_Steven.1
      • 2 yrs ago
      • Reported - view

      Alain Fontaine Thanks. Didn't thought about that. 👍

    • Rafael Sanchis
    • Rafael_Sanchis
    • 2 yrs ago
    • Reported - view

    A lot thanks guys. Excelent support 

Content aside

  • Status Answered
  • 2 yrs agoLast active
  • 4Replies
  • 101Views
  • 3 Following