Solved

pass variable between forms

Posted on 1998-07-15
2
163 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Validating VB6 Function 19 68
Question about INSTR  - need to extract data MS ACCESS query 6 62
message box in access 4 52
Set email body to html using vbscript 6 70
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

685 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