NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: kashiash on December 12, 2010, 12:56:46 PM
-
I have memory based form procedure, where user enetr few data values and have button next.
On button NEXT i want call my function :
WznawianyWniosek = myfunction(locparam1,locparam2)
p_web.SetSessionValue('WznawianyWniosek,WznawianyWniosek')
This function return id record to be edited, and should open another for for edit record with calculated ID
URL should be look like below:
FormKalkulacjeTAB?&WSK:IDWNIOSKU='& p_web.GetSessionValue('WznawianyWniosek')& '&Change_btn=Change&
I put code as ServerCode for Next button, but where/how call next page with updated URL ?
-
I don't know about the rest of your question but your set session value should look like this;
p_web.SetSessionValue('WznawianyWniosek',WznawianyWniosek)
-
i wrote this code in message (not copy from clarion) and make mistake, in original code in clarion is ok. There is no problem ;)
-
Maybe you can rename the save button to Next and then intercept the URL via _Sendfile in the webhandler.
Bruce covers the above in his new book "Developing Web Applications"