Ver Mensaje Individual
  #1  
Antiguo 06-09-2007
Shikanda Shikanda is offline
Miembro
 
Registrado: ago 2007
Posts: 36
Reputación: 0
Shikanda Va por buen camino
Statement expected, but expression of type 'Boolean' found

A ver si me podeis decir por qué me sale este fallo tan tonto en algo tan estúpido como esto:

Código Delphi [-]
  with DMUsuarios.QGen do begin
        close;
        sentence:=('Select * from usuarios_sistema where usuario='+DMMain.RXEntornoUsuario.AsString);
        sql.Text:=sentence;
        open;
  end;

Siendo 'sentence' una variable string definida por mí y dando este error en el Open.

Como siempre, muchas gracias
Responder Con Cita