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

Search

Status
Not open for further replies.

Vec

IS-IT--Management
Jan 29, 2002
418
0
0
US
Using a data control form the tool box to conect some text boxes to an access db to display the data, how do I do a simple search of an access table named users and a field named fldUsername to see if an entry exists or not?



-------------------------------------------------------------------------
-------------------------------------------------------------------------

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Univer
 
Hi,

your SQL should look something like this:
"select * from users where fldUsername = '"&textbox.text&"'"

use the recordcount to check if record exist

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top