Sintaxis para consulta
Publicado por Victor Lara (47 intervenciones) el 28/05/2003 23:48:37
Cual seria la sintaxis EXACTA para la sig Sql en Visual Basic ???
sql="Select top 30 from clientes where codigo='100'"
tengo esta y no me funciona
SqlGral = "SELECT TOP ='30' Fecha,Nro_Guia,Neto,Iva,Total,Estado" _
& " FROM Guias_Despacho" _
& " Where Rut_Cliente='" & RutCliente.Text & "'" _
& " and estado='2'" _
& " ORDER BY fecha"
necesito arreglar este cuento ..
sql="Select top 30 from clientes where codigo='100'"
tengo esta y no me funciona
SqlGral = "SELECT TOP ='30' Fecha,Nro_Guia,Neto,Iva,Total,Estado" _
& " FROM Guias_Despacho" _
& " Where Rut_Cliente='" & RutCliente.Text & "'" _
& " and estado='2'" _
& " ORDER BY fecha"
necesito arreglar este cuento ..
Valora esta pregunta


0