Hi friends,
I am unable to declaring variable which can used from any form in a particular project.

declare your variable on module...
you can access certain variable from any form.

Hi,

Add a .Bas Module to your project
and Declare the Variable As Public there, Now it can be used throup out your project..

REgards
Veena

There is another method to use form one variable to another form as follows

<Form Name>.<varname>

eg.
form1.name = 5

HI,

All the Above given solutions are correct and works fine, so Kindly Mark the tread as solved...


-Venkat

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.