Microsoft
Software
Hardware
Network
Question : Access database update help
I inherited a database which has strings where it should have boolean or numbers. Trying to set a column which is 'TEXT' to a number (Also as text, later will convert the datatype).
Getting an error.
--------------------------
----------
Microsoft JET Database Engine error '80040e10'
No se han especificado valores para algunos de los parámetros requeridos.
/plazatorros_bil_v01/VD_Ed
itor/Leg_D
iestros/di
estros_Cp.
asp, línea 21
--------------------------
----------
--
Dim stFr, stTo
stFr = "t"
stTo = "1"
MyConn_Legacy.execute("UPD
ATE Leg_toreros SET tor_tipo = '" & stTo & "' WHERE tor_tipo = " & stFr & "; ") '<< línea 21
Any ideas
A
Answer : Access database update help
Try this:
MyConn_Legacy.Execute ("UPDATE Leg_toreros SET tor_tipo = " & Chr(34) & stTo & Chr(34) & " WHERE tor_tipo = " & Chr(34) & stFr & Chr(34) & "; ")
mx
Random Solutions
Automatically delete empty tables from access database
how to determine style.display value
Public Desktop Icons not showing in RDP sessions
Blackberry not displaying text on FWD emails.
CHARINDEX Syntax
Error: "The site <sitename> could not be found in the Web application SPWebApplication Name=MOSS Parent=SPWebService"
Using an additional domain controller when PDC crashes
GFI Essentials 2010 Folder set up
New record, if field is empty, msgbox
out off office not working for one user