Solved

How to access anothter form's data?

Posted on 1998-10-28
2
148 Views
Last Modified: 2010-04-30
I would like to know how to access the data of other forms.
e.g. Form1 has the variale abc, how can I get the value of variable abc on Form2?

Thanks.
0
Comment
Question by:andersy
2 Comments
 
LVL 14

Accepted Solution

by:
waty earned 20 total points
Comment Utility
You have to declare the variables or the procedures as public

Form1 :

Public nAbc     as Integer


Form2 :
 
Private sub toto ()

 Form1.nAbc = 10

End Sub

0
 

Author Comment

by:andersy
Comment Utility
It works!

Thanks!
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…

743 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

15 Experts available now in Live!

Get 1:1 Help Now