Using 5 forms only get one at run time plz hlp fix

Thesower
01-11-2001, 01:35 AM
Im writting a database program that should when complete run all its tables outside of Access97. I cant figure out how to make a form that can allow me access to other forms in the program, Can someone give me information on how to make all forms come up att run time so I can finish the project
email james_fudala@yahoo.com. My job may depened on this. I have tried difffent things but its not working out PLEASE HELP ME WITH THIS... thanks

kingesk
01-12-2001, 03:12 PM
If I understand correctly, you are talking about the Load or Show methods. To get rid of a form use the Unload or Hide Method.

load FromName 'or
FormName.Show

'ex:
Private Sub mnuAbout_Click()
'show the about screen

me.Hide
frmAbout.Show
End Sub

I hope this is what you were asking,

Eric

Robby
02-21-2001, 01:08 AM
If I understood correctly; Create an MDI and make your forms (Property) MDIchild = True.
then within your MDI you can place menu items that will open and close your forms.

pponchot
02-23-2001, 11:01 AM
I'm sure that the other guys who have posted here know more about this than me, but I thought I would throw this in, expecially since your job may depend on this help.

When VB starts, it loads only the first form (or bas), depending on how you have it setup. In order to get the other forms to load at start time you need to put this in your form load:

Private Sub Form_Load()
form2.show
form3.show
form4.show
form5.show
End Sub

This will show all the forms at runtime. Hope this helps. Feel free to email me.


Phillip

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum