Hi all,
I have encountered an update Query prolem.
the following is my code:
ResultSql = "UPDATE ExamResult SET ExamResult.Rsult = " & DoubleQuote(Me![Result]) _
& " WHERE (((ExamResult.AppFileNo)Like '* " & AppId & "*') AND " _
& "((ExamResult.ExamName)Like '*" & CurrExamName & "*') AND " _
& "((ExamResult.SessionYear) " & DoubleQuote(Me![SessionYear]) & "*')) "
DoCmd.RunSQL ResultSql
I got error msg:"Can not the filed, update ExamResult.Result.
Aslo, I would like get ride off the Parameter input box at runtime Counld anyone tell me how to cope the error and eliminate the parameter input box. I need do update this field in the backgraound.
Any help is very much appreciated.
Wei Zhang
I have encountered an update Query prolem.
the following is my code:
ResultSql = "UPDATE ExamResult SET ExamResult.Rsult = " & DoubleQuote(Me![Result]) _
& " WHERE (((ExamResult.AppFileNo)Like '* " & AppId & "*') AND " _
& "((ExamResult.ExamName)Like '*" & CurrExamName & "*') AND " _
& "((ExamResult.SessionYear) " & DoubleQuote(Me![SessionYear]) & "*')) "
DoCmd.RunSQL ResultSql
I got error msg:"Can not the filed, update ExamResult.Result.
Aslo, I would like get ride off the Parameter input box at runtime Counld anyone tell me how to cope the error and eliminate the parameter input box. I need do update this field in the backgraound.
Any help is very much appreciated.
Wei Zhang
Last edited: