troubleshooting Question

Microsoft, Access, 2007, VBA - Can I pass a parameter from form to form?

Avatar of greenprg
greenprgFlag for United States of America asked on
Microsoft Access
3 Comments1 Solution2709 ViewsLast Modified:
I have a report form that gets called from 2 different forms, a new record entry form and an update an existing record form.  There are 2 fields on the report that get filled in on the Load event depending on who calls the report form.  I tried declaring a public string variable to be set as "entry" or "update" from the calling form but the "OnLoad" event of the report does not get a value with the variable.  Is this possible?

Thanks!
Helen
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros