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!

Searching Access and showing all results on one page

Status
Not open for further replies.

kevink

Programmer
Nov 23, 1999
53
IE
Hello!<br>

<br>

I have a simple access database comprising of 3 fields - Name, File Number and description. The File number is an autonumber and is the primary key.<br>

<br>

The name could appear in several records e.g. Joe Bloggs appears in File number 001, 005, 013 etc.<br>

<br>

Is there anyway I can search for a name and bring up all the File numbers and descriptions associated with that name?<br>

<br>

I've tried using VBS and SQL but to no avail!!<br>

<br>

Thanks,<br>

<br>

Kevin.
 
select<br>
name,<br>
filenumber,<br>
description<br>
from<br>
tablename<br>
where<br>
name = &quot;*&quot; & [Name Check] & &quot;*&quot;<br>
sort filenumber asc;<br>
<br>
?<br>

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top