Trouble with YesNo Prompt

I am trying to fix this code which gives the user an option to say yes and compose a form or say No and close the window. How can I tweak the code below for this.

temp :=@Prompt([YesNo];"Reminder";"Click Yes to compose form or click no and return to prior screen");
@IF (temp= 1;((@Command([Compose]; "":"" ; "ibpc_day2_order_form" ; "" : "");@Command([FileCloseWindow]);)
jforget1Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

p_parthaCommented:
temp :=@Prompt([YesNo];"Reminder";"Click Yes to compose form or click no and return to prior screen");
@IF (temp= 1;@Command([Compose]; "":"" ; "pp.test" ; "" : "");@Command([FileCloseWindow]))

This works for me

Partha
0
p_parthaCommented:
sorry i pasted my form :

so it shd be

temp :=@Prompt([YesNo];"Reminder";"Click Yes to compose form or click no and return to prior screen");
@IF (temp= 1;@Command([Compose]; "":"" ; "ibpc_day2_order_form" ; "" : "");@Command([FileCloseWindow]))

Partha
0
Sjef BosmanGroupware ConsultantCommented:
temp :=@Prompt([YesNo];"Reminder";"Click Yes to compose form or click no and return to prior screen");
@IF (temp; @Command([Compose]; "ibpc_day2_order_form");@Command([FileCloseWindow]))

Like this? You had too many parentheses.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

jforget1Author Commented:
That did it, thanks for the help
0
Sjef BosmanGroupware ConsultantCommented:
You're fast bro! I'll leave things to you, I think...
0
p_parthaCommented:
Have a good night bro

Partha
0
p_parthaCommented:
Jforget, did you forget to give the points?

Partha
0
jforget1Author Commented:
Sorry, forgot to click the button
0
p_parthaCommented:
You are lucky Bro :)
 
Partha
0
Sjef BosmanGroupware ConsultantCommented:
Gee, jforgot forgot to click the right button probably. Are you sure? Pushing buttons in EE should be done with great care. If you really intended to give it all to me, then thanks, but if you wanted to let Partha have it all, then ask in CS to reopen this question. I don't want to be known as Sjef the point-stealer :)
0
p_parthaCommented:
Jforget,
Let the points be with my bro, i dont want to be known as Partha the point-snatcher :)

Partha
0
Sjef BosmanGroupware ConsultantCommented:
LOL!

Alternative names: Point-pincher? Point-purloiner? Point-pilferer?
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.