Ver Mensaje Individual
  #4  
Antiguo 18-11-2009
Avatar de Neftali [Germán.Estévez]
Neftali [Germán.Estévez] Neftali [Germán.Estévez] is offline
[becario]
 
Registrado: jul 2004
Ubicación: Barcelona - Espańa
Posts: 18.293
Reputación: 10
Neftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en bruto
Para colocar el parámetro entre comillas es más sencillo y fácil de ver si utilizas QuotedStr. Eso te ańade las comillas por ser un tipo String.

Código Delphi [-]
  ... Set Nombre = QuotedStr(Name)

En cuando a las interiores del texto, en SQLServer funciona si antes las cambias por dos comillas en lugar de una (no dobles, sino 2).

L''opera
__________________
Germán Estévez => Web/Blog
Guía de estilo, Guía alternativa
Utiliza TAG's en tus mensajes.
Contactar con el Clubdelphi

P.D: Más tiempo dedicado a la pregunta=Mejores respuestas.
Responder Con Cita