Announcement

Collapse
No announcement yet.

ERROR in creating forms

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

  • ERROR in creating forms

    Must be something wrong in the generating of forms !

    i get the message: Parse error: syntax error, unexpected ')' in C:\Program Files (x86)\NetMake\v7\wwwroot\scriptcase\app\decramain\ form_slides\form_slides_apl.php on line 3702

    i do a normal query from the DB without conditions.
    the line in the code is:
    3702 if ($this->nmgp_opcao == "igual" && isset($this->NM_btn_navega) && 'S' == $this->NM_btn_navega && !empty())
    {
    if (in_array(strtolower($this->Ini->nm_tpbanco), $this->Ini->nm_bases_access))
    {
    $Key_Where = " ";
    }
    else
    {
    $Key_Where = " ";
    }
    $Where_Start = (empty($sc_where)) ? " where " . $Key_Where : $sc_where . " and (" . $Key_Where . ")";
    $nmgp_select = "SELECT count(*) from " . $this->Ini->nm_tabela . $Where_Start;
    $_SESSION['scriptcase']['sc_sql_ult_comando'] = $nmgp_select;
    $rt = $this->Db->Execute($nmgp_select) ;
    if ($rt === false && !$rt->EOF && $GLOBALS["NM_ERRO_IBASE"] != 1)
    {
    $this->Erro->mensagem (__FILE__, __LINE__, "banco", $this->Ini->Nm_lang['lang_errm_dber'], $this->Db->ErrorMsg());
    exit ;
    }
    $_SESSION['sc_session'][$this->Ini->sc_page]['form_slides']['reg_start'] = $rt->fields[0];
    $rt->Close();
    }
    Anyone with the same problem ?
    Im using: 7.01.0002

  • #2
    Hi Gerd,

    Originally posted by Gerd Dietrich View Post
    i do a normal query from the DB without conditions.
    The SQL-Output of Debug Mode = Yes is?
    Best regards: - Reinhard -

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

    Comment


    • #3
      Originally posted by RHS View Post
      Hi Gerd,



      The SQL-Output of Debug Mode = Yes is?
      Reinhard, i tried with debug-mode on/off every other error settings on/off, no chance to get it working

      Comment

      Working...
      X