Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing Parameters

Status
Not open for further replies.

Kchinnaswamy

IS-IT--Management
Jan 31, 2001
27
US
HI

I am trying to pass a Parameter from one form to another. I need to pass it by value. I declared the variable as public and still nothing gets transfered.
Its always a blank. Any suggestions?

thanks

Kumar
 
Declaring the variable Public in the Declarations section of one form should work, provided that:
1. You set the value in the first form before the second form tried to access it,
2. The first form remains open at the time the second form accesses the variables, and
3. You used the correct syntax in the second form.

Without more information about the sequence of events, I don't have anything to go on to determine why it's not working. Rick Sprague
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top