Hi All
I know it's easy enough to make a combox invisible, but what I want it to be invisible (o disabled) as soon as I've used it to select and display a record. I tried this in the After Update event of the combo box:
Me!Combo92.Visible = False
but it didn't work. Any ideas:
So the code in the After Update Event is as follows:
Private Sub Combo92_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[ACREF] = '" & Me![Combo92] & "'"
Me.Bookmark = rs.Bookmark
Me!Combo92.Visible = False
End Sub
I know it's easy enough to make a combox invisible, but what I want it to be invisible (o disabled) as soon as I've used it to select and display a record. I tried this in the After Update event of the combo box:
Me!Combo92.Visible = False
but it didn't work. Any ideas:
So the code in the After Update Event is as follows:
Private Sub Combo92_AfterUpdate()
' Find the record that matches the control.
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[ACREF] = '" & Me![Combo92] & "'"
Me.Bookmark = rs.Bookmark
Me!Combo92.Visible = False
End Sub