Connecting Tech Pros Worldwide Help | Site Map

Change part of a form while keeping the rest of the form the same

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 12th, 2005, 04:23 PM
cbielich
Guest
 
Posts: n/a
Default Change part of a form while keeping the rest of the form the same

I would like to be able to create a form were when clicking a button
only part of the form is changed. Like a web browser has the ability
to have another browser within it to be changed while the rest is the
same. Can this be done in access 2000

C

  #2  
Old November 12th, 2005, 04:24 PM
DFS
Guest
 
Posts: n/a
Default Re: Change part of a form while keeping the rest of the form the same

cbielich,

Can you be more specific? What about the form do you want to "change"?


"cbielich" <cbielich@yahoo.com> wrote in message
news:35ec0130.0312050149.18aa9055@posting.google.c om...[color=blue]
> I would like to be able to create a form were when clicking a button
> only part of the form is changed. Like a web browser has the ability
> to have another browser within it to be changed while the rest is the
> same. Can this be done in access 2000
>
> C[/color]


  #3  
Old November 12th, 2005, 04:24 PM
Danny J. Lesandrini
Guest
 
Posts: n/a
Default Re: Change part of a form while keeping the rest of the form the same

Maybe you need to use a master form with subforms.
When you click the button, the subform is swapped out
for a different one.

This will give the appearance of what you refer to as web
browser behavior. The code behind the button will look
something like this ...

Private Sub MyButton_Click()
If Me.objMySubform.SourceObject = "sfrmFirst" Then
Me.objMySubform.SourceObject = "sfrmSecond"
ElseIf Me.objMySubform.SourceObject = "sfrmSecond" Then
Me.objMySubform.SourceObject = "sfrmThird"
ElseIf Me.objMySubform.SourceObject = "sfrmThird" Then
Me.objMySubform.SourceObject = "sfrmFourth"
Else
Me.objMySubform.SourceObject = "sfrmFirst"
End If
Me.objMySubform.Requery ' maybe this isn't necessary ???
End Sub
--

Danny J. Lesandrini
dlesandrini@hotmail.com
http://amazecreations.com


"cbielich" <cbielich@yahoo.com> wrote in message
news:35ec0130.0312050149.18aa9055@posting.google.c om...[color=blue]
> I would like to be able to create a form were when clicking a button
> only part of the form is changed. Like a web browser has the ability
> to have another browser within it to be changed while the rest is the
> same. Can this be done in access 2000
>
> C[/color]


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.