0

Trigger when a new record is created

Hi!

In a table I inserted this trigger on new data set (trigger on creation):

alert("NEW RECORD alert")

 

but it doesn’t work.

I also inserted a trigger on editing a record: 

alert("EDIT RECORD alert")

 

That doesn’t work either

 

I work on browser.

Can you help me, please? TKS

4 replies

null
    • Mel_Charles
    • 1 yr ago
    • Reported - view

    There are some functions that are not supported on triggers ("on create" and "after update" in the table) in the browser, but only in buttons and on the "Trigger after open" in the database options:

     

    - alert()

    - openTable() 

    - popupRecord()

    - dialog() 

     

    In the Ninox Apps the function are supported also in the triggers mentioned above.

    • Web_Namer
    • 1 yr ago
    • Reported - view

    Thanks a lot Mel Charles

    Is it possible that even "if ... then... else... end" doesn’t work?

    Is there a list of functions that do not work in the browser?

    Thanks!

      • Mel_Charles
      • 1 yr ago
      • Reported - view

      webmaster.antonioferriero Can't say if there is a list but that answer I gave you was what support gave me to the same issue some 6 months back

    • Web_Namer
    • 1 yr ago
    • Reported - view

    Mel Charles Thank you so much

    You are very kind!

Content aside

  • 1 yr agoLast active
  • 4Replies
  • 201Views
  • 2 Following