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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Find records in a Subform



 
 
Thread Tools Display Modes
  #1  
Old May 25th, 2004, 04:59 PM
John Milward
external usenet poster
 
Posts: n/a
Default Find records in a Subform

Hi

I have a form which contains Customer information and a subform which shows
all the contact names at that address.

I need to be able to do a 'Find' for a name and show the Customer record(s)
that contain that name.

Any ideas please?

TIA

John


  #2  
Old May 25th, 2004, 06:11 PM
Allen Browne
external usenet poster
 
Posts: n/a
Default Find records in a Subform

See:
Filter a Form on a Field in a Subform
at:
http://allenbrowne.com/ser-28.html

The article explains how to effectively filter the main for so it contains
only records that have a match in the subform by assigning an INNER JOIN
statement to its RecordSource.

Another alternative is to use a subquery in the form's Filter.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"John Milward" wrote in message
...
Hi

I have a form which contains Customer information and a subform which

shows
all the contact names at that address.

I need to be able to do a 'Find' for a name and show the Customer

record(s)
that contain that name.

Any ideas please?

TIA

John




 




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:24 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.