Announcement

Collapse
No announcement yet.

"sc_apl_conf" don't work!!

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

  • "sc_apl_conf" don't work!!

    Hello,

    i need help to use the macro "sc_apl_conf", i have done like described below, but it has no any effect.

    i have two forms: one is a "control" form wicth invoque another one : "customer form"(in the onvalidate event), i want to open "customer form" on insert mode.
    in the "onscriptinit" event of "customer form", i have: sc_apl_conf("form_customer", "start", "new"); is it correct???

  • #2
    The sc_apl_conf macro needs to be called from an app that is NOT the target app being opened in Insert mode. It does say this in the help doc.

    So if you want to open your customer form in Insert mode - the call of....

    Code:
    sc_apl_conf("form_customer", "start", "new");
    .... needs to be from another app. In your case it sounds like you have a control app that calls the customer form? Is that via sc_redir()? If it is, then add the sc_apl_conf line (above) just before the redir.

    Comment

    Working...
    X