kodu aşağıdaki gibi düzenleyip dener misiniz?
CurrentDb.Execute "UPDATE tblMallar SET tblMallar.Malno = DCount(""*"",""[tblMallar]"",""[Yil]='" & Me.txtYil & "' and [Ihaleno]='" & Me.akNo & "' and [MalID]<= "" & [tblMallar]![MalID]);"
CurrentDb.Execute "UPDATE tblMallar SET tblMallar.Malno = DCount(""*"",""[tblMallar]"",""[Yil]='" & Me.txtYil & "' and [Ihaleno]='" & Me.akNo & "' and [MalID]<= "" & [tblMallar]![MalID]);"