0

Can one delete the action created by a button activating a function?

Hi,

I push on a button I created for activing a function and I should like to go back before.

Is it possible ?

How can I do that ?

Thanks

8 replies

null
    • Mel_Charles
    • 3 yrs ago
    • Reported - view

    RESTORE DATA

    • Mel_Charles
    • 3 yrs ago
    • Reported - view

    or if you meant archiving data. The reset your button script to reverse the flow to put the data back

    • Antonello_Stabile_71
    • 3 yrs ago
    • Reported - view

    usa la funzione dialog. Al click del pulsante ti avverte coun maschera popup se vuoi procedere o meno. Ti faccio un esempio:

    let avv:= dialog("PROCEDI", "Vuoi procedere con la funzione?", ["Si" , "No"])

    if avv = "Si" then

    delete this

    else

    void

     

    Nell'esempio se clicci su "Si" si cancella il record

    • Addinsell
    • 3 yrs ago
    • Reported - view

    Hi Antonello

     

    Thanks a lot for your answer.

    A few questions :

     

    -I have not this alert popup when I click on the button…

     

    -In your script there is words in English and words in French… Why ? That can't work.

     

    -When you write "Supprimer cette" something seems to be missing after…

    Haven't you forgot something ?

    • Addinsell
    • 3 yrs ago
    • Reported - view

    Ciao Antonello

    Grazie mille per la tua risposta.
    Alcune domande:

    -Non ho questo popup di avviso quando clicco sul pulsante...

    -Nel tuo script ci sono parole in inglese e parole in francese... Perché? Non può funzionare.

    -Quando scrivi "Supprimer cette" sembra che manchi qualcosa dopo...
    Non hai dimenticato qualcosa?

    • Addinsell
    • 3 yrs ago
    • Reported - view

    Scusate, ho tradotto lo script in francese, quindi la mia domanda non ha senso...

    • Addinsell
    • 3 yrs ago
    • Reported - view

    The script works.

    I create a new button with it but how do you put that in the button involved ?

    Do I have to put it the script of the button?

    If yes, at wich place in the script ?

    Here is my script :

     

    for i in select 'Ajouts familles-Tableau 1ok' do

    let n := i.'Ordres 2';

    if count(select 'Ajouts familles-Tableau 1ok' where 'Ordres 2' = n) > 1 then

    delete i.this

    end

    end

    • Mel_Charles
    • 3 yrs ago
    • Reported - view

    in the on click section

Content aside

  • 3 yrs agoLast active
  • 8Replies
  • 586Views