PDA

Click to See Complete Forum and Search --> : Passing Variables through module problem


Smie
Jan 6th, 2000, 03:40 AM
Im having a little trouble. I declare a variable in my module:

Dim W1

now in one form, I set the variable as say "qwerty" (string). But when I open the next form, and go to load the variable, its blank. What am I doing wrong?(this is my first time making a module to hold variables)

Thanks

Aaron Young
Jan 6th, 2000, 03:45 AM
You need to Dimension the Variable as Pubilc in your Module, ie.

Public W1 As String

Then it'll be visible to everything within the Application.


------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
ajyoung@pressenter.com