NetTalk Central

Author Topic: How to ... put code under a menu item  (Read 2698 times)

John Fligg

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • Ambrit Software
    • Email
How to ... put code under a menu item
« on: February 07, 2012, 09:37:36 AM »
Have been away so hope this has not been asked before ...

On my main menu I have placed a new menu item. When clicked I want some code to run but I cannot find a suitable embed point. I tried calling a source procedure but when running it tells me the page cannot be found despite not being a URL.

The code I want to run does not require a window or any response. It just sets a bunch of varaibles.

Thank you

John

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: How to ... put code under a menu item
« Reply #1 on: February 07, 2012, 02:27:48 PM »
My understanding is that your menu must call a web page via URL or procedure.

So the way you could do it is to add your values as parameters and call say indexpage and parse off the parameters and do what you want with them.