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
-
It all depends on the code. What is the code?
-
Hi Fred
In fact I made an error. Sorry.
But out of curiosity, what could show in the code it will work only once ?
-
I can't think of any, but there are smarter people out there.
Does anyone know of the secret self-destruct code? :)
-
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 ?
-
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
-
Hi John,
Your are right. Thanks
Content aside
- 3 yrs agoLast active
- 6Replies
- 343Views