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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A real Quickie 1

Status
Not open for further replies.

WOTRAC

MIS
Nov 22, 2002
36
GB
How do I get a text box to look up a record from a database, when the text box gets focus

N.B. The record is a single field in the database

Wotrac
 
have a look at DLookup in the help file. e.g.


Dim varX As Variant
varX = DLookup("[LastName]", "Employees", "[EmployeeID] = 1")

Cheers,
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top