Announcement

Collapse
No announcement yet.

cannot use sc_lookup in oninit menu application

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • cannot use sc_lookup in oninit menu application

    You can create a snippet in the onapplicationinit to select some data from a table. But if you use sc_lookup(...) then you get an error on the missing onexecute. I moved the code to the loginpage and it did not generate the error any more. BUT sc_apl_status does not work in the loginmodule. So a lot of fuzz with global vars to get things working.
    Last edited by aducom; 03-31-2013, 05:34 AM.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

  • #2
    Hello,

    Just to be clear, you got the error when you tried to run sc_lookup on the onAppInit() of the menu application?

    regards,
    Bernhard Bernsmann

    Comment


    • #3
      Yes, as soon as you have sc_lookup then you get a runtime error on missing onexecute.
      Albert Drent
      aducom software netherlands
      scriptcase partner, reseller, support and (turn-key) development
      www.scriptcase.eu / www.scriptcase.nl

      Comment

      Working...
      X