My DB is in Access 2002.
HOW would I automatically select the lastest item in the listbox. For example, in my DB when a record is added it automatically goes into the list box, what code do I need to automatically highlight this record. (Replacing the code below)
I've been using the following code to select the first item in the list box:
If CordLB.ListCount > 0 Then
CordLB.SetFocus
CordLB.ListIndex = 0
End If
HOW would I automatically select the lastest item in the listbox. For example, in my DB when a record is added it automatically goes into the list box, what code do I need to automatically highlight this record. (Replacing the code below)
I've been using the following code to select the first item in the list box:
If CordLB.ListCount > 0 Then
CordLB.SetFocus
CordLB.ListIndex = 0
End If