T
the_dude via AccessMonster.com
Dear all,
I am trying to update a field in a table from a text box on a subform.
Basically when the user opens the form they choose from different people and
get their details. i would like them to be able to update the data. So i have
created a button and on click the following SQL is executed:
CurrentDb.Execute "UPATE Sal_Core SET Molis_RequestStatus = '" &
Molis_RequestStatus & "' WHERE CaseRef = '" & CaseRef & "';"
The field in the Sal_Core table gets updated but I also get an error saying:
Microsoft jet database engine cannot find input tabel or query 'UPATE
Sal_Core SET Molis_RequestStatus = " WHERE CaseRef = ";' Make sure it exists
and that its name is spelled correctly.
Can anybody help? If the field in the table gets updated should mean that the
SQL syntax is correct but what is that error about?
Thank you very much in advance,
Olli
I am trying to update a field in a table from a text box on a subform.
Basically when the user opens the form they choose from different people and
get their details. i would like them to be able to update the data. So i have
created a button and on click the following SQL is executed:
CurrentDb.Execute "UPATE Sal_Core SET Molis_RequestStatus = '" &
Molis_RequestStatus & "' WHERE CaseRef = '" & CaseRef & "';"
The field in the Sal_Core table gets updated but I also get an error saying:
Microsoft jet database engine cannot find input tabel or query 'UPATE
Sal_Core SET Molis_RequestStatus = " WHERE CaseRef = ";' Make sure it exists
and that its name is spelled correctly.
Can anybody help? If the field in the table gets updated should mean that the
SQL syntax is correct but what is that error about?
Thank you very much in advance,
Olli