1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

  2. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[4.5] - Include variable in EVAL block

Discussão em 'PSDN - Forum' iniciado por IramK, Junho 26, 2017.

  1. IramK

    IramK Guest

    Hello,

    Is there a way I can include a variable in an #EVAL block when using Browser-side API?

    var str = "146201,146202";

    var returnVal = `#EVAL[var arr = rbv_api.selectQuery2('SELECT id, name, taskSubject, taskType#value, taskCategory#value, dueDate FROM ap_task WHERE id IN(?) ORDER BY dueDate ASC', 0, 10, '"` + str + `"');]` // doesn't work :(

    Cheers.

    Iram

    Continue reading...

Compartilhe esta Página