QUIEN ME CHECA LA SINTAXIS DE UN COMMANDTEXT? -SQL
Publicado por UNA FACIL (70 intervenciones) el 12/09/2001 03:42:20
ALGUIEN PUEDE DECIRME SI LA SINTAXIS ESTA BIEN O MAL?
cmdAccion.CommandText = "INSERT INTO COMPRAS (ordendecompraId, Rancho, Contacto) VALUES (" & CInt(Text1.Text) & "," & Text2.Text & "," & Text3.Text & ")"
DONDE ordendecompraid es un campo numerico y Rancho y Contacto son tipo texto.
ME MARCA EL ERROR DE "Missing operator in query expression"
MIL GRACIAS.
cmdAccion.CommandText = "INSERT INTO COMPRAS (ordendecompraId, Rancho, Contacto) VALUES (" & CInt(Text1.Text) & "," & Text2.Text & "," & Text3.Text & ")"
DONDE ordendecompraid es un campo numerico y Rancho y Contacto son tipo texto.
ME MARCA EL ERROR DE "Missing operator in query expression"
MIL GRACIAS.
Valora esta pregunta


0