B
Bob Matthews
Hi all
I am using Access 2007.
My Table named Debtors has the following field
Surname as a Text field
My RowSource is :-
SELECT DISTINCTROW [Debtors].[Surname] FROM Debtors ORDER BY [Surname];
My After Update Event Procedure is :-
Private Sub Combo76_AfterUpdate()
DoCmd.ShowAllRecords
Me!txtSurname.SetFocus
DoCmd.FindRecord Me!Combo76
Me!Combo76.Value = ""
End Sub
and I get the following error message.................
Run-time error '2465'
Access can't find the field 'txtSurname'
Where have I gone wrong?
Bob
I am using Access 2007.
My Table named Debtors has the following field
Surname as a Text field
My RowSource is :-
SELECT DISTINCTROW [Debtors].[Surname] FROM Debtors ORDER BY [Surname];
My After Update Event Procedure is :-
Private Sub Combo76_AfterUpdate()
DoCmd.ShowAllRecords
Me!txtSurname.SetFocus
DoCmd.FindRecord Me!Combo76
Me!Combo76.Value = ""
End Sub
and I get the following error message.................
Run-time error '2465'
Access can't find the field 'txtSurname'
Where have I gone wrong?
Bob