Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Find Record Button

Status
Not open for further replies.

edbloom

Technical User
Apr 20, 2006
9
US
I need help in getting the following pseudo code working.
Thanks in advance.

procedure btnFind_Click()

Ask for Last_Name & First_Name
Search recordset (table)
If Record Count > 1
list all records in popup box
allow double-click selection of right person
populate form (not bound to table)
ElseIf Record Count = 1
populate form (not bound to table)
Else
display MsgBox "No Records Found"
End-if

End procedure

Form is not bound to recordset (table) as Event btnUpdate_Click() will do this.
 
Yes, I did. It was in a different forum. The solution I got worked but is awkward to use. I was hoping to get another view point in the actual VBA forum.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top