Like I said, the real trick is figuring out what event to put the code in. Without knowing more about your db structure and form behaviors, hard to be specific. I can give you an example from my code:
Code:
...
'user prompt for entry of logout date
DoCmd.OpenForm "DialogGetDate", , , , , acDialog, "Logout"
If CurrentProject.AllForms("DialogGetDate").IsLoaded Then
Me.tbxDate = Form_DialogGetDate.tbxDateDialog
DoCmd.Close acForm, "DialogGetDate", acSaveNo
End If
...
That is just small part of a lengthy procedure that is called by a button Click event.
Why do you say it takes so long to find a/c number with combobox? The AutoExpand property should make it quite easy and fast.