A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Multi Search



 
 
Thread Tools Display Modes
  #1  
Old May 10th, 2010, 03:03 PM posted to microsoft.public.access.gettingstarted
Box666
external usenet poster
 
Posts: 60
Default Multi Search

Currently we have the situation where an operator will input a search
for a reference number (form bound to a table) which will produce the
result (ref no plus name.)

In real terms the operator will have a list of 10 - 50 ref numbers to
search against, is it possible to carry out some form of "multi
search" whereby they copy the list of all 50 ref. numbers and paste
them into the form. The form/report? would then show the "ref no" plus
"name" (or indeed blank "name" if there is no matching ref no) result
for all 50 items.

The operators would get the ref no either from excel or notepad.

If this type of multi search is possible what is the best way to go
about it please.
  #2  
Old May 10th, 2010, 03:33 PM posted to microsoft.public.access.gettingstarted
John Spencer
external usenet poster
 
Posts: 7,815
Default Multi Search

Since you want the output to show blanks for the name, I would suggest the
solution might be a temporary work table where you can input multiple numbers.

An alternative if the only the refno you want to see are in the excel sheet or
notepad file is to establish a link to the those.

With a work table, your query would look like

SELECT WorkTable.RefNO, OtherTable.Name
FROM WorkTable LEFT JOIN OtherTable
ON WorkTable.RefNO = OtherTable.RefNo



John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County

Box666 wrote:
Currently we have the situation where an operator will input a search
for a reference number (form bound to a table) which will produce the
result (ref no plus name.)

In real terms the operator will have a list of 10 - 50 ref numbers to
search against, is it possible to carry out some form of "multi
search" whereby they copy the list of all 50 ref. numbers and paste
them into the form. The form/report? would then show the "ref no" plus
"name" (or indeed blank "name" if there is no matching ref no) result
for all 50 items.

The operators would get the ref no either from excel or notepad.

If this type of multi search is possible what is the best way to go
about it please.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:05 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.