C
Clau
Hi there, I am new to access programming and I need to use the setfocus
on a ComboBox on a form, as I have never done that I am completely
lost... here is the thing:
I have a form (loan) where I have a ComboBox (BookCode) and in that
combobox I´ve created the following event:
Option Explicit
Option Compare Database
Private Sub BookCode_BeforeUpdate(Cancel As Integer)
If Status = "Lent" Then
MsgBox "The book is not available"
End If
End Sub
so far it works, but I need to add a setfocus to fix the mouse pointer
to the ComboBox and I have no clue on how to continue...
Can anyone help ???
on a ComboBox on a form, as I have never done that I am completely
lost... here is the thing:
I have a form (loan) where I have a ComboBox (BookCode) and in that
combobox I´ve created the following event:
Option Explicit
Option Compare Database
Private Sub BookCode_BeforeUpdate(Cancel As Integer)
If Status = "Lent" Then
MsgBox "The book is not available"
End If
End Sub
so far it works, but I need to add a setfocus to fix the mouse pointer
to the ComboBox and I have no clue on how to continue...
Can anyone help ???