Skip to Content
avatar image
Former Member

Simple calculator

To leran myself how to prgram with VC I tried to make a simple calculator.

One Input form, with three numeric input fields, NUM1, NUM2, NUM3. And one button 'Add', with the submit form action.

I defined the value of NUM3 as '@NUM1+@NUM2'.

But nothing happens. Isn't it that simple?

Where can I find I simple tutorial to start with?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Sep 12, 2006 at 03:17 PM

    Hi Jan,

    The problem is the refresh, when the form is charged NUM3 has the value NUM1+NUM2 but is empty.

    May be you should be hide the NUM3 and displayed in other form after push the button... other way would be use a "expresion box" (no "input field" ) in result field.

    The best place to start with VC is http://help.sap.com/saphelp_nw04s/helpdata/en/43/395a596c8a1806e10000000a1553f6/frameset.htm

    Regards,

    Ignacio.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 12, 2006 at 04:59 PM

    This link is really helpful!

    Do you know if this documentation is available in pdf format?

    Add comment
    10|10000 characters needed characters exceeded