
01/04/2010, 09:27
|
| | Fecha de Ingreso: marzo-2010
Mensajes: 3
Antigüedad: 15 años Puntos: 0 | |
Error SQL update 2 estimados esta sentencia me da error de sintaxis
sql = "Update IngPauta set Personal = '" & Combo1.Text & "', Cortador = '" & Combo3.Text & "', PRecip = " & CDbl(Text4.Text) & ", PTotal = " & CDbl(Text5.Text) & ", PSeco = " & CDbl(Text6.Text) & ", Fe = " & CDbl(Text7.Text) & ", Cu = " & CDbl(Text8.Text) & ", Ars = " & CDbl(Text9.Text) & ", Mo = " & CDbl(Text10.Text) & ", Pb = " & CDbl(Text11.Text) & ", Sc = " & CDbl(Text12.Text) & ", Porcentaje = '" & Text13.Text & "', Obs = '" & Text14.Text & "' where Fecha = #" & fechaactual & "# and Hora = #" & auxh & "#"
donde fechaactual es campo tipo date
hora es campo tipo date
La bd tiene como campo fecha, hora y son ambos de tipo date/time.
Gracias de antemano |