Connecting Tech Pros Worldwide Help | Site Map

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

  #1  
Old November 12th, 2005, 05:23 PM
cbielich
Guest
 
Posts: n/a
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, 05:24 PM
DFS
Guest
 
Posts: n/a

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, 05:24 PM
Danny J. Lesandrini
Guest
 
Posts: n/a

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]


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
.Net frameword Resources ( vb.net , asp.net etc...) shamirza answers 0 January 17th, 2007 08:05 AM
i=infinity;0= i*sin k*pi, 1=cos k*pi, k=m/n, n=4,m=0-00; c*G=20=const, 1/sgrt2>G>0.5, 6<N = NA ^2surf/NAvol<7 ; h/N =11=const, e+i*pi; D universe =f(h)*1/ (a))^4, T=f( m, S, D) Ivars answers 13 August 13th, 2006 06:05 AM
Can't make this page work scottyman@comcast.net answers 6 March 9th, 2006 04:25 AM
What so special about PostgreSQL and other RDBMS? Sarah Tanembaum answers 125 July 20th, 2005 04:46 AM