PC Review


Reply
Thread Tools Rate Thread

Buttons for multiple subforms...?

 
 
SummitSeeker
Guest
Posts: n/a
 
      21st May 2010
Hello...

I have a form where i have multiple subforms. The main subform is our
client's contact information, and the subform I am trying to add a button for
is for our call notes to log our call. The call log subform is linked to the
customer contact info via customer number and displays the correct call notes
for each client as i go through our client.

I am having trouble adding a button to navigate through the different call
log records. Each time i push teh button it goes through our customer's
contact information.

How can i add the button so it will go to the "next" or "previous" records
of our call logs and not the clients?

Thanks so much nor any help.
 
Reply With Quote
 
 
 
 
SummitSeeker
Guest
Posts: n/a
 
      21st May 2010
Sorry I forgot to mention that I would like the button on the main form and
not on the subform...

Thanks again,
-SS-

"SummitSeeker" wrote:

> Hello...
>
> I have a form where i have multiple subforms. The main subform is our
> client's contact information, and the subform I am trying to add a button for
> is for our call notes to log our call. The call log subform is linked to the
> customer contact info via customer number and displays the correct call notes
> for each client as i go through our client.
>
> I am having trouble adding a button to navigate through the different call
> log records. Each time i push teh button it goes through our customer's
> contact information.
>
> How can i add the button so it will go to the "next" or "previous" records
> of our call logs and not the clients?
>
> Thanks so much nor any help.

 
Reply With Quote
 
Daryl S
Guest
Posts: n/a
 
      21st May 2010
SummitSeeker -

You should put the button on the subform and test it out. Once it works,
you can make the button invisible. In the code for the button, change the
Private to Public in the function header. This will allow the main form to
call it. Then use the button on the main form to call the subform's button.
It will look something like this (use your form and control names):

Call Me.SubformName.Form.SubformButtonNmae_Click

--
Daryl S


"SummitSeeker" wrote:

> Sorry I forgot to mention that I would like the button on the main form and
> not on the subform...
>
> Thanks again,
> -SS-
>
> "SummitSeeker" wrote:
>
> > Hello...
> >
> > I have a form where i have multiple subforms. The main subform is our
> > client's contact information, and the subform I am trying to add a button for
> > is for our call notes to log our call. The call log subform is linked to the
> > customer contact info via customer number and displays the correct call notes
> > for each client as i go through our client.
> >
> > I am having trouble adding a button to navigate through the different call
> > log records. Each time i push teh button it goes through our customer's
> > contact information.
> >
> > How can i add the button so it will go to the "next" or "previous" records
> > of our call logs and not the clients?
> >
> > Thanks so much nor any help.

 
Reply With Quote
 
SummitSeeker
Guest
Posts: n/a
 
      21st May 2010
Ahh..haa.. That is exactly what i needed... Awesome and thank you for the
help.

-SS-

"Daryl S" wrote:

> SummitSeeker -
>
> You should put the button on the subform and test it out. Once it works,
> you can make the button invisible. In the code for the button, change the
> Private to Public in the function header. This will allow the main form to
> call it. Then use the button on the main form to call the subform's button.
> It will look something like this (use your form and control names):
>
> Call Me.SubformName.Form.SubformButtonNmae_Click
>
> --
> Daryl S
>
>
> "SummitSeeker" wrote:
>
> > Sorry I forgot to mention that I would like the button on the main form and
> > not on the subform...
> >
> > Thanks again,
> > -SS-
> >
> > "SummitSeeker" wrote:
> >
> > > Hello...
> > >
> > > I have a form where i have multiple subforms. The main subform is our
> > > client's contact information, and the subform I am trying to add a button for
> > > is for our call notes to log our call. The call log subform is linked to the
> > > customer contact info via customer number and displays the correct call notes
> > > for each client as i go through our client.
> > >
> > > I am having trouble adding a button to navigate through the different call
> > > log records. Each time i push teh button it goes through our customer's
> > > contact information.
> > >
> > > How can i add the button so it will go to the "next" or "previous" records
> > > of our call logs and not the clients?
> > >
> > > Thanks so much nor any help.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Subforms getting stuck using nav buttons Mushroom Microsoft Access 1 26th Nov 2008 02:17 PM
Buttons and subforms EAB1977 Microsoft Access Form Coding 2 17th Jul 2007 06:00 PM
How to 0pen multiple subforms from a main form using buttons =?Utf-8?B?a25ldWhhdXM=?= Microsoft Access Forms 3 27th Sep 2006 12:41 PM
Buttons in subforms 111 Microsoft Access Forms 2 25th Mar 2004 01:23 AM
subForms, buttons, and doCmd? Janet Microsoft Access Form Coding 3 12th Dec 2003 10:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:50 PM.