I sure hope I can explain this well:
I am displaying a form on an ASP page that allows a user to enter an invoice number, Date and Job Jacket number. The entered info is used in a Access query that has two tables and a couple of sub queries to come up with the totals and updates a FoxPro table. Works fine in Access
I am getting the following Error:
=============
Microsoft JET Database Engine (0x80004005)
ODBC--connection to 'GalC01' failed.
=============
Here is my code (bolded line is what throws up the error)
I am connecting to an Access DB and I am trying to update a FoxPro DB that is linked via ODBC DSN GalC01. This works when I update a regular test table in the Access db, but when I try to update the production table which is a ODBC DSN linked table, I get the error noted above.
Thank you in advance for your time.
I am displaying a form on an ASP page that allows a user to enter an invoice number, Date and Job Jacket number. The entered info is used in a Access query that has two tables and a couple of sub queries to come up with the totals and updates a FoxPro table. Works fine in Access
I am getting the following Error:
=============
Microsoft JET Database Engine (0x80004005)
ODBC--connection to 'GalC01' failed.
=============
Here is my code (bolded line is what throws up the error)
Code:
dim oConn, x, rs
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Mode = adModeReadWrite
oConn.Open ("PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=c:\inetpub\[URL unfurl="true"]wwwroot\xyz\ABC_V1.mdb")[/URL]
s_invoice_nbr = Trim(Request.form("f_invoice_nbr"))
s_date = Trim(Request.form("f_date"))
s_jobjacket_nbr = Trim(Request.form("f_jobjacket_nbr"))
[b][COLOR=blue]Set rs = oConn.Execute ("exec sp_upd_gadocard_oi " & s_invoice_nbr & ", '" & s_date & "', " & s_jobjacket_nbr & "")[/color][/b]
oConn.Close
Set oConn = Nothing
I am connecting to an Access DB and I am trying to update a FoxPro DB that is linked via ODBC DSN GalC01. This works when I update a regular test table in the Access db, but when I try to update the production table which is a ODBC DSN linked table, I get the error noted above.
Thank you in advance for your time.