Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OPEN NEW SUBFORM IN WINDOW (II)

Status
Not open for further replies.

baybie

IS-IT--Management
Oct 5, 2002
68
GB
Can anyone please help? I have a form with a subform within it, the ides behind it is to imitate the forms/windows you get when you're viewing (internet explorer setup wizard or the setup wizards for any other application). You know, where you have a logo on the left hand part of the window and on the right hand side, you have the text with the “Previous”, “Cancel” and “Next” buttons. On my own form, I have a subform, which contains the text and the buttons. What I need to know is, how can I make the “Next” button on the subform open up another similar subform in the same window that the current one is in (overlapping it) rather than in a separate window.

I was previosly given the option of using:
on the button's click event you can change the source object of the subform control:Me.parent.chdSubForm.SourceObject = "mynextform"

I have encountered problems with this code. Any other ideas?
 
What about using a Tab Control? Each page would contain a different subform that you need. Set the OnClick for the Next button to move the value of the Tab Control. I'm currently working on a similar issue and that's the solution I'm using. I haven't completed it yet, but it appears to be working out so far.

Judie
 
I'll try and let you know how i get along.
Cheers
 
I use tab controls and really like them but one word of caution before you put a lot of time into it...If your tab control is placed on an unbound form you'll have trouble filtering data. As far as I know Microsoft hasn't fixed this yet.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top