J
jvpro
I'm trying to create a Load event procedure that moves the focus to the first
report name in the list box when a form opens. But when I go to the Form view,
it says Run-time error '2465: Microsoft Office Access can't find the field
"|" referred to in your expression.
I put this for the code:
Private Sub Form_Load()
'Move the focus to the list box and
'highlight the first query
[QueryList].SetFocus
SendKeys "{Down}"
End Sub
I'm using Access 2003 and Windows XP Pro. Thanks!
report name in the list box when a form opens. But when I go to the Form view,
it says Run-time error '2465: Microsoft Office Access can't find the field
"|" referred to in your expression.
I put this for the code:
Private Sub Form_Load()
'Move the focus to the list box and
'highlight the first query
[QueryList].SetFocus
SendKeys "{Down}"
End Sub
I'm using Access 2003 and Windows XP Pro. Thanks!