kipdole
Posts: 9
|
Posted: 03/19/2004, 2:44 PM |
|
Hi,
We have a program that creates a complex retirement calculation which I would love to be able to do with Codecharge Studio.
There are around 4 step including:
-Get the number of year they have worked
-How old are they
-What type of retirement calculation do they want to make.
I would like to this using ASP.
Has anyone done anything like this? Most of the applications I see are just putting in data and saving.
Thanks!
|
|
|
peterr
Posts: 5971
|
Posted: 03/19/2004, 2:57 PM |
|
You can create a search form that asks for all these parameters, plus a label that displays the result. You can put your calculation code in the Before Show event of the label. For example:
Label1.Value = "The result is: " & CCGetFromGet("year",0) + CCGetFromGet("age",0) + CCGetFromGet("type",0)
Of course this is just a very simplistic example.
In case your existing program is written in Visual Basic then you may be able to use most of that code since ASP is a simplified version of VB.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
|