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
How to Add formatting to Excel Spreadsheet from VB.NET
VMware VirtualCenter Server Service will not stay Started on our vCenter box
Have to restart service to get network printer to work
How can I update Microsoft SQL Server Native Client. Give error each time I try.
OCS 2007 R2 and Cisco call manager
I wanted to parse out text in outlook using VBA and save the values in a spread sheet
HP Laserjet 2420 not printing the first time when connected via usb from a laptop
OnPopup + sql query
How to stablish a proper setup in MS Outlook 2003 encrypting mails
Licensing Small Business Server 2008 Standard plus Microsoft Server 2008 Standard