NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Edvard Korsbaek on January 14, 2017, 12:26:33 AM
-
Hi!
Pretty new to this..
I have made a form, which has a button, that triggers a sql query. That part does what it should.
Problem is, that I want to be able to do two different things:
When useer presses the button, it should run the query, and return to the menu.
There should be an 'Return to menu' button. To add a button is not difficult, but how to make it do this?
Best regards
Edvard Korsbæk
-
hi all!
"There should be an 'Return to menu' button. To add a button is not difficult, but how to make it do this?"
Done - there is a setting - On click, that does it.
I said, that I am pretty new to this
Edvard
-
Hi Edvard,
you might find the server side codes not execute (ie your sql code) if you use on click. If so, use p_web.script after your sql code to return to your menu or close the current form etc