0

Does a button only work once ?

Hi, 

I pressed an old button and it had no effect.

 

Does a button only work once ?

 

If it does, how can one make it work again ?

 

Thank you

6 replies

null
    • Fred
    • 2 yrs ago
    • Reported - view

    It all depends on the code. What is the code?

    • Addinsell
    • 2 yrs ago
    • Reported - view

    Hi Fred

    In fact I made an error. Sorry.

    But out of curiosity, what could show in the code it will work only once  ?

    • Fred
    • 2 yrs ago
    • Reported - view

    I can't think of any, but there are smarter people out there.

     

    Does anyone know of the secret self-destruct code? :)

    • Addinsell
    • 2 yrs ago
    • Reported - view

    I said that because I found that code for a button in my notes where I wrote "works only once"

     

    let a := "" ;

    for b in (select 'Oiseaux famille genres espéces') order by 'Premier mot' do

    if a = b. 'Premier mot' then

    b.(isDuplicate := "Duplicate")

    else

    b.(isDuplicate := "Principal")

    end ;

    a := b.'Premier mot'

    end

     

    Do you see anything in it which means it will work only once ?

    • John_Halls
    • 2 yrs ago
    • Reported - view

    I wrote this code for you, and my understanding was that you had duplicates that you want to cleanse from your table. The button would flag the duplicates in preparation for that. So it's not so much run once, but if you have changes in your table I would be running it periodically, along with your cleasing routine. If you haven't made any changes then it will run correctly but produce the same result as before.

     

    Regards John

    • Addinsell
    • 2 yrs ago
    • Reported - view

    Hi John,

    Your are right. Thanks 

Content aside

  • 2 yrs agoLast active
  • 6Replies
  • 343Views