bronen said:
I need your help quickly. i am to make a presentation to some big names in
my company. I need you to walk me thru step-by-step on this topic.
I need to create a one time popup form when Access loads. The form asks to
enter data, i.e. Project Number. When I click a button to close that form,
that data (Project Number) is to be pushed to other forms that carry Project
Number in it's table. Can you tell me what I need to do, step-by-step? I'm
an amateur, but need this asap!
Please respond to my email: (e-mail address removed)
thanks
Ben
You request a lot, "urgently", without giving too much information
about yourself and the Access version you are using. Is this your
first Access application? How proficient are you in VBA? Can you
explain to me four ways to exchange information between forms?
I propose that you make your start form, say frmStart, where you ask
for the Project number, say, in a textfield named txtProjectNumber.
You also have a command button "Ok".
In the command buttons OnClick event, place the code
Me.Visible = False
DoCmd.Openform "frm_YourMainForm"
In the frm_YourMainForm and any other form where it is used, refer to
ProjectNumer with the expression
Forms!frmStart!txtProjectNumber
This is certainly the quickest, but also the dirtiest and least
maintainable version to keep this global information. But perhaps it
will help for your demo.
HTH
Matthias Kläy