NetTalk Central

Author Topic: Back to menu button  (Read 4353 times)

Edvard Korsbaek

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • Email
Back to menu button
« 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

Edvard Korsbaek

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • Email
Re: Back to menu button
« Reply #1 on: January 15, 2017, 12:32:00 AM »
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

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Back to menu button
« Reply #2 on: January 15, 2017, 07:25:41 PM »
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