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
XSLT and RESTful Web Services
service restart after logrotate
Relative Size Pivot Table Macro
looking for a powerful ActionScript 3 isometric engine
Microsoft PKI Design
Shared calendar does not show appointments until refreshed
CISCO UC520 - IP Phones & Computers on different ip ranges.
SSIS Package Hangs in SQL Job
Include C++ header files in .Net Application
How can I handle dbNull in Linq?