Page 2 of 2

Re: Prompting user not working ?

Posted: 16 Sep 2018 22:12
by PeterH
You should count parameters from left, not from right (i.e. "the last").

Re: Prompting user not working ?

Posted: 16 Sep 2018 23:34
by CookieMonster
Parameter two is optional, although not giving a parameter causes it to not work, therefore can I skip parameter two ?

Re: Prompting user not working ?

Posted: 16 Sep 2018 23:55
by PeterH
CookieMonster wrote:Parameter two is optional, although not giving a parameter causes it to not work, therefore can I skip parameter two ?
This would mean that parameter 2 is parameter 3 :shock:

Would you understand what is meant?

Re: Prompting user not working ?

Posted: 17 Sep 2018 00:23
by CookieMonster
PeterH wrote:
CookieMonster wrote:Parameter two is optional, although not giving a parameter causes it to not work, therefore can I skip parameter two ?
This would mean that parameter 2 is parameter 3 :shock:

Would you understand what is meant?
If parameter 2 is optional, then how can you bypass this parameter ?

Re: Prompting user not working ?

Posted: 17 Sep 2018 04:23
by RalphM
Have a look at the last example for confirm() in the help which shows how to skip "unneeded" parameters and adapt it to your needs.
If that's too much to ask then you should probably stay away from scripting. :whistle: