Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Access

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-24-2008, 11:16 PM
=?Utf-8?B?TmFu?=
 
Posts: n/a
Command Button in sub forms

Is it possible to apply a find command button for an entire report (inclusive
of sub forms)? The find command button I have created only finds results
based on the main form, regarless of where I place the cursor, i.e., in a
field within a sub form. It's search results does not find a word or
character I am searching, that I know exists. Any help?

Thanks!!
Reply With Quote
  #2 (permalink)  
Old 08-25-2008, 03:48 AM
Allen Browne
 
Posts: n/a
Re: Command Button in sub forms

I'm not really clear here, but I think you have a main form (not report?),
with a subform. The subform shows only the records that match the record in
the main form. You can search the subform, but it will search only the
records that are already in the subform.

If that's what you are trying to do, see:
Filter a Form on a Field in a Subform
at:
http://allenbrowne.com/ser-28.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.

"Nan" <Nan@discussions.microsoft.com> wrote in message
news:62EAED44-7200-405F-93AE-29E9F2743017@microsoft.com...
> Is it possible to apply a find command button for an entire report
> (inclusive
> of sub forms)? The find command button I have created only finds results
> based on the main form, regarless of where I place the cursor, i.e., in a
> field within a sub form. It's search results does not find a word or
> character I am searching, that I know exists. Any help?


Reply With Quote
  #3 (permalink)  
Old 08-25-2008, 05:08 PM
=?Utf-8?B?TmFu?=
 
Posts: n/a
Re: Command Button in sub forms

Hi Allen,

First, Thank you.

My apologies... it is a form with sub form(s). I created a find command, but
when I ask it to search for a field in any of the sub form(s) it returns a
response that no matches are found. When using the same command in the main
form it does locate the record... it doesn't seem to be working in the
sub-forms??? Hope this helps.

"Allen Browne" wrote:

> I'm not really clear here, but I think you have a main form (not report?),
> with a subform. The subform shows only the records that match the record in
> the main form. You can search the subform, but it will search only the
> records that are already in the subform.
>
> If that's what you are trying to do, see:
> Filter a Form on a Field in a Subform
> at:
> http://allenbrowne.com/ser-28.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.
>
> "Nan" <Nan@discussions.microsoft.com> wrote in message
> news:62EAED44-7200-405F-93AE-29E9F2743017@microsoft.com...
> > Is it possible to apply a find command button for an entire report
> > (inclusive
> > of sub forms)? The find command button I have created only finds results
> > based on the main form, regarless of where I place the cursor, i.e., in a
> > field within a sub form. It's search results does not find a word or
> > character I am searching, that I know exists. Any help?

>
>

Reply With Quote
  #4 (permalink)  
Old 08-26-2008, 02:59 AM
Allen Browne
 
Posts: n/a
Re: Command Button in sub forms

My question is:
- Is the record there in the subform to find?
- Or do you have to move to a different record in the main form before the
record will be there in the subform to find?

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

"Nan" <Nan@discussions.microsoft.com> wrote in message
news:09EEC78B-14CB-4A09-96E9-2114B546BC72@microsoft.com...
> Hi Allen,
>
> First, Thank you.
>
> My apologies... it is a form with sub form(s). I created a find command,
> but
> when I ask it to search for a field in any of the sub form(s) it returns a
> response that no matches are found. When using the same command in the
> main form it does locate the record... it doesn't seem to be working in
> the
> sub-forms??? Hope this helps.
>
> "Allen Browne" wrote:
>
>> I'm not really clear here, but I think you have a main form (not
>> report?),
>> with a subform. The subform shows only the records that match the record
>> in the main form. You can search the subform, but it will search only the
>> records that are already in the subform.
>>
>> If that's what you are trying to do, see:
>> Filter a Form on a Field in a Subform
>> at:
>> http://allenbrowne.com/ser-28.html
>>
>> "Nan" <Nan@discussions.microsoft.com> wrote in message
>> news:62EAED44-7200-405F-93AE-29E9F2743017@microsoft.com...
>> > Is it possible to apply a find command button for an entire report
>> > (inclusive
>> > of sub forms)? The find command button I have created only finds
>> > resultsbased on the main form, regarless of where I place the cursor,
>> > i.e., in afield within a sub form. It's search results does not find a
>> > word
>> > or character I am searching, that I know exists. Any help?


Reply With Quote
  #5 (permalink)  
Old 08-26-2008, 07:53 PM
=?Utf-8?B?TmFu?=
 
Posts: n/a
Re: Command Button in sub forms

Your question is interesting.

Answer 1 to your question 1: Yes, and it still does not find it.
Answer 2 to Q 2: Regardless of the record I move to, it does not find any
known records in the sub forms.

The search only seems to work on the main form, and only the fields within
the main form.


"Allen Browne" wrote:

> My question is:
> - Is the record there in the subform to find?
> - Or do you have to move to a different record in the main form before the
> record will be there in the subform to find?
>
> --
> 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.
>
> "Nan" <Nan@discussions.microsoft.com> wrote in message
> news:09EEC78B-14CB-4A09-96E9-2114B546BC72@microsoft.com...
> > Hi Allen,
> >
> > First, Thank you.
> >
> > My apologies... it is a form with sub form(s). I created a find command,
> > but
> > when I ask it to search for a field in any of the sub form(s) it returns a
> > response that no matches are found. When using the same command in the
> > main form it does locate the record... it doesn't seem to be working in
> > the
> > sub-forms??? Hope this helps.
> >
> > "Allen Browne" wrote:
> >
> >> I'm not really clear here, but I think you have a main form (not
> >> report?),
> >> with a subform. The subform shows only the records that match the record
> >> in the main form. You can search the subform, but it will search only the
> >> records that are already in the subform.
> >>
> >> If that's what you are trying to do, see:
> >> Filter a Form on a Field in a Subform
> >> at:
> >> http://allenbrowne.com/ser-28.html
> >>
> >> "Nan" <Nan@discussions.microsoft.com> wrote in message
> >> news:62EAED44-7200-405F-93AE-29E9F2743017@microsoft.com...
> >> > Is it possible to apply a find command button for an entire report
> >> > (inclusive
> >> > of sub forms)? The find command button I have created only finds
> >> > resultsbased on the main form, regarless of where I place the cursor,
> >> > i.e., in afield within a sub form. It's search results does not find a
> >> > word
> >> > or character I am searching, that I know exists. Any help?

>
>

Reply With Quote
  #6 (permalink)  
Old 08-27-2008, 03:13 AM
Allen Browne
 
Posts: n/a
Re: Command Button in sub forms

You should be able to put the cursor in any text box in the subform, and use
the Find button on the toolbar to find records in the subform, provided they
are already loaded there.

If you want to write your own code to do this, use the RecordsetClone of the
form in the subform. FindFirst. Test NoMatch. Set Bookmark.

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

"Nan" <Nan@discussions.microsoft.com> wrote in message
news:A722673E-2DFF-482B-BEBC-2E1D52C55E39@microsoft.com...
> Your question is interesting.
>
> Answer 1 to your question 1: Yes, and it still does not find it.
> Answer 2 to Q 2: Regardless of the record I move to, it does not find
> any known records in the sub forms.
>
> The search only seems to work on the main form, and only the fields
> within the main form.
>
>
> "Allen Browne" wrote:
>
>> My question is:
>> - Is the record there in the subform to find?
>> - Or do you have to move to a different record in the main form before
>> the record will be there in the subform to find?


Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Microsoft > MS Office > Access


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:52 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Mortgage | Remortgages | Problem Mortgage | Buy Shares | Bad Credit Loan



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114