Let consider what I expected to happened. Anything, but a runtime error crash. I got this code in the after working on parameter query and noticed that it was to be put in after update on the combo box event tab.
Consider:
[
Code:
DoCmd.ShowAllRecords
Me!Position.SetFocus
DoCmd.FindRecord Me!cboEmployeeName
The middle line does have a position. So it got what it wanted?
Is there something wrong with the line : Me!Position.SetFocus
I am just am quite new to this. It seem that all that was needed is in the line in question.
As I said in the initial post what is this after update code for?
If I knew that it would probably help in understanding what is going on.
Any help appreciated. Thanks in advance.
Respectfully,
Lou Reed