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" in subform (Access 2007)



 
 
Thread Tools Display Modes
  #1  
Old May 30th, 2007, 06:34 PM posted to microsoft.public.access.forms
lighthouse118
external usenet poster
 
Posts: 2
Default "Find" in subform (Access 2007)

I have a subform on a main form (created from tables with 1:N relationship).
I need to be able to "find" a record in a subform and have that record and
it's parent record show. Documentation in Access Help says that you can only
use "find" in the parent form. Has anyone found a way to work around this?
--
lighthouse118
  #2  
Old May 30th, 2007, 08:20 PM posted to microsoft.public.access.forms
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default "Find" in subform (Access 2007)

Nope. The only records available to search in the subform are the ones that
are related to the main form.
You can add an unbound comb box on the main form to do searching using a
query with both tables joined. Have the combobox display both the main and
sub information. Once you find the item then search the main form.
--
KARL DEWEY
Build a little - Test a little


"lighthouse118" wrote:

I have a subform on a main form (created from tables with 1:N relationship).
I need to be able to "find" a record in a subform and have that record and
it's parent record show. Documentation in Access Help says that you can only
use "find" in the parent form. Has anyone found a way to work around this?
--
lighthouse118

  #3  
Old May 30th, 2007, 09:55 PM posted to microsoft.public.access.forms
lighthouse118
external usenet poster
 
Posts: 2
Default "Find" in subform (Access 2007)

Thanks Karl. I am trying to make your suggestion work. So far I am not doing
so good, but I will figure it out. Like you say: Build a little - Test a
little
--
lighthouse118


"KARL DEWEY" wrote:

Nope. The only records available to search in the subform are the ones that
are related to the main form.
You can add an unbound comb box on the main form to do searching using a
query with both tables joined. Have the combobox display both the main and
sub information. Once you find the item then search the main form.
--
KARL DEWEY
Build a little - Test a little


"lighthouse118" wrote:

I have a subform on a main form (created from tables with 1:N relationship).
I need to be able to "find" a record in a subform and have that record and
it's parent record show. Documentation in Access Help says that you can only
use "find" in the parent form. Has anyone found a way to work around this?
--
lighthouse118

  #4  
Old December 16th, 2009, 01:51 PM posted to microsoft.public.access.forms
pcbins
external usenet poster
 
Posts: 55
Default "Find" in subform (Access 2007)

Is there a way to 'goto' the main record when you select the one you want in
the combo box?

"KARL DEWEY" wrote:

Nope. The only records available to search in the subform are the ones that
are related to the main form.
You can add an unbound comb box on the main form to do searching using a
query with both tables joined. Have the combobox display both the main and
sub information. Once you find the item then search the main form.
--
KARL DEWEY
Build a little - Test a little


"lighthouse118" wrote:

I have a subform on a main form (created from tables with 1:N relationship).
I need to be able to "find" a record in a subform and have that record and
it's parent record show. Documentation in Access Help says that you can only
use "find" in the parent form. Has anyone found a way to work around this?
--
lighthouse118

  #5  
Old December 17th, 2009, 02:41 AM posted to microsoft.public.access.forms
Allen Browne
external usenet poster
 
Posts: 11,706
Default "Find" in subform (Access 2007)

"pcbins" wrote in message
news
Is there a way to 'goto' the main record when you select the one you
want in the combo box?


Assuming the combo is unbound, see:
Using a Combo Box to Find Records
at:
http://allenbrowne.com/ser-03.html

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

 




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 11:51 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.