Announcement

Collapse
No announcement yet.

variables

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

  • variables

    hi everyone,

    i dont know where to put the question, so i put it here, because i know "[usr_login]" as an example of what i mean.
    is there anywhere a list with variables, which SC automaticly use?
    i mean: i know there are - lets say - master-global-scriptcase-variables. such as usr_login which is build in app_login automaticly when secure-module is used.
    also there are language-variables such as { lang_jscr_iday } which can be used and which are used form automatic-apps like secure and log.

    is there anything else?

    is there a list of these varibales, where they are defined and what they mean?

    if not - who helps me do build such a list here in forum?


    VAR
    used in
    meaning in english words

    variables without {} use []. i am too lazy to write it everytime again.

    1.
    usr_login
    declared in "app_login" (securety-module)
    --> login-name of the user


    2.
    usr_email
    declared in "app_login" (securety-module)
    -->email of user who loged in

    3.
    {lang_...}
    declared in tools -> locale -> languages
    translation of labels, fields, stuff into languages. mostly crazy.

    4.
    [sc_glo_servidor]
    declared in databank connection (in common _lib-folder)
    Server name.

    5
    sc_glo_banco
    declared in databank connection (in common _lib-folder)
    Database name.

    6
    sc_glo_tpbanco
    declared in databank connection (in co... you know it)
    Database type

    7
    sc_glo_usuario
    declared in databank connection
    Connected user name.

    8
    sc_glo_senha
    declared in databank connection
    Database password

    9
    sc_glo_senha_cript
    declared in security-modul
    Encrypted password ("S" (->"si" ? ) -> seems to be "yes", "N" seems to be "No")

    10
    sc_glo_decimal_db
    declared in security-modul
    contend is "," or "." p.e. "user1, user2, user3" or "user1.user2.user3"

    11
    sc_db_master_usr
    declared in databank connection
    User login. can not be updated.

    12
    sc_db_master_pass
    declared in databank connection
    Password to be used. cant be changed.

    13
    sc_db_master_cript
    declared in sc_encode macro
    Encrypted password? (S/N)


    14
    sc_iis_usr
    declared in PDF - Export / macro
    Windows User on local machine. need to be known for pdf-export on win.

    15
    [sc_iis_pw]
    declared in PDF - Export / macro
    Windows Password on local machine. need to be known for pdf-export on win.

    16
    {count_XXX}
    declared in grids in event “onGroupBy” XXX
    Records total amount.

    17
    {sum_XXX}
    declared in grids in event “onGroupBy” XXX
    sum for the field "xxx". for example "{sum_cost}" is the sum of all fields {cost}

    18
    {count_groupby}
    declared in grids all “onGroupBy" events
    total records of current group .

    19
    {sum_groupby_XXX}
    declared in grids all “onGroupBy" events
    sum of current Group for the field “xxx”.
    Last edited by nina_sorensen; 11-09-2013, 04:43 PM.

  • #2
    I think that's a great idea! Afaik there's not such a list, at least I never came across.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Originally posted by aducom View Post
      I think that's a great idea!
      thanks a lot

      Comment


      • #4
        This is a great effort! Thanks a lot.

        Comment

        Working...
        X