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.


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


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

<Form Name>.<varname>

form1.name = 5


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


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.