Ver Mensaje Individual
  #4  
Antiguo 15-09-2014
Avatar de ramflores
ramflores ramflores is offline
Miembro
 
Registrado: may 2005
Ubicación: Monterrey, Mex.
Posts: 87
Reputación: 19
ramflores Va por buen camino
cierto, tienes razon.

componentes del lado del cliente:

TSQLConnection
TDSProviderConnection
TClientDataSet

Llamado de SP

_query := 'Exec Proveedores.dbo.PG_Se_Facturas '+
QuotedStr('0030')+
','+ QuotedStr( FormatDateTime('yyyymmdd',_FechaRev) ) +
','+ cboEstatus.Value +
','+ QuotedStr(EdFactura.Text) +
','+ QuotedStr(EdOC.Text) +
','+ QuotedStr(EdRA.Text) +
','+ IntToStr( IfThen( chkFechaPosterior.Checked = True, 1, 0 ) ) +
','+ EdProveedor.Text +
','+ QuotedStr( FormatDateTime('yyyymmdd',_FechaPago) );

Dm.Query10.Close;
Dm.Query10.SQL.Clear;
Dm.Query10.SQL.Add( _query );
Dm.Query10.Open;

Mensaje de Error

---------------------------
Debugger Exception Notification
---------------------------
Project Proveedores.exe raised exception class TDBXError with message 'Remote error: CommandText changes are not allowed'.
---------------------------
Break Continue Help
---------------------------
__________________
Gracias de antemano
Saludos ........
---------------------------------
Ramiro Flores
Responder Con Cita