i got a script to backup my files when i try to quit the layout but everytime i press on the bouton to quit, the script loops and asks me the same question twice before closing the layout. does neone know whats wrong ?
If you post the contents of your logoff script it would be easier to troubleshoot.
One thought; If you have a button that runs your logoff script that would obviously be the source of your first prompt but if you also set (under File | File Options) that same script to run on file close that could be the source of the second prompt. This MAY be the problem but it is difficult to know without any details.
Although I agree with Striker about posting the or a part of the script, if you have developer/advance, you could use script debugger to test the script and see where it goes wrong.
If not, pause the script at the point shere you think it goes wrong.
sorry guys, first time i am using this program and the program i have to fix isnt mine but heres the code i remade for a button in the layout and the script i made to exit and save
--------------------------------------
Show message ("")
if ("Status(currentmessagechoice) =2")
Halt scrip
end if
if ("status(currentmessagechoice) =3")
save a copy as ("Filename")
save a copy as ("Filename")
end if
Close("BD_vehicule")
--------------------------------------
also striker i checked for the second prompt and i dont find it (i am using a mac and its killing me but work is work) so to my knowledge, i dont think there is a second prompt.
And jean i do not have developer/advance and i am really confused to why a simple script like this would bug
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.