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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sub-forms

Status
Not open for further replies.

WarrenB

Programmer
Feb 7, 2001
38
GB
Hello I was just wandering how I could manage sub-forms in the following manner.

I've got a main form A, inside it sub-form B. Now I want to close sub-form B and open a new sub-form C within A. Can this be easilly done? Thanks for your help in advance.

=================
Thankyou
Warren Brown
wazzer@btinternet.com
=================
 
You could use a script to SAVE and then set subform B visable property to NO and the subform C to YES, but you might also consider using a TAB with each sub form on a different TAB
 
yes easily done!
just include subformc in the design of forma. then when you want to see subformb make it visible and subformc not visible

something like
me.subforma.visible = true
me.subformb.visible = false

another option if both subforms are similar is to change the datasource to the subform
good luck
 
Thanks :) =================
Thankyou
Warren Brown
wazzer@btinternet.com
=================
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top