Solved

pass variable between forms

Posted on 1998-07-15
2
160 Views
Last Modified: 2010-05-03
I want to pass variables between two forms .How can I do it?
0
Comment
Question by:ozlem
2 Comments
 
LVL 6

Accepted Solution

by:
alamo earned 10 total points
ID: 1465787
Declare the variables as Public, then reference them from the other form by:

formname.variablename

It's easy..hope this helps!


0
 
LVL 2

Expert Comment

by:Jagar
ID: 1465788
If you only have one variable then You can pass it using the .tag property of the second form
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now