Announcement

Collapse
No announcement yet.

[SOLVED] sc_set_groupby_rule not working

Collapse
This topic is closed.
X
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • [SOLVED] sc_set_groupby_rule not working

    Hi,

    I'm using SC 7.01.0007. I have following code in a grid application's onApplicationInit as described in the manual.

    Code:
    sc_set_groupby_rule("corp");
    Initial module is "Summary" and "corp" is defined in application's Group By Rules.
    When I run the application I get this error:

    Undefined index: SC_Ind_Groupby

    and

    Fatal error: Function name must be a string in...

    .
    Gökhan Sönmez

  • #2
    Try in onApplicationInit: sc_set_groupby_rule = "corp";

    See documentation (ScriptCase Macros) for that.


    Best regards: - Reinhard -

    I use ScriptCase 8 Enterprise Edition, Version 8.(latest)

    Comment


    • #3
      Ohh it's my fault. Thank you for the information.
      Gökhan Sönmez

      Comment

      Working...
      X