ok, try it this way:
1) create a form with all the fields you want to show up
2) create a query that only has the account name in it, name it
"qrySearchAccounts"
3) add a combo box and open the properties of that control
4) go to the "all" tab and at the very top change the name to
"cmbSearchAccounts"
5) go to the "data" tab and change the row source to "qrySearchAccounts"
6) go to the "event" tab and add the following code to the "after update"
event
Private Sub cmbSearchAccounts_AfterUpdate()
On Error GoTo Err_cmbSearchAccounts_AfterUpdate
Me.FilterOn = False
Dim rst As Recordset
Dim strSearchName As String
Set rst = Me.RecordsetClone
strSearchName = str(Me!cmbSearchAccounts)
'****in the following line: make sure the word
''AccountName' is the name of your primary key - Account Name****
rst.FindFirst "AccountName = " & strSearchName
If rst.NoMatch Then
MsgBox "Record not Found"
Else
Me.Bookmark = rst.Bookmark
End If
rst.Close
Err_cmbSearchAccounts_AfterUpdate:
Resume Exit_cmbSearchAccounts_AfterUpdate
Exit_cmbSearchAccounts_AfterUpdate:
Exit Sub
End Sub