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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pass Var from one form to another

Status
Not open for further replies.

tyang01

Technical User
Joined
Feb 1, 2007
Messages
46
Location
US
I'm trying to pass a string variable from one form to another. Can someone point me in the right direction?
 
Either use the OpenArgs argument of the OpenForm command or go through the Forms collection.

HTH RuralGuy (RG for short) acXP winXP Pro
Please respond to this forum so all may benefit
 
Create a new module, and put your variable in there as a Public variable.

Public Toy as string

Obviously Toy was just an example, and if its an integer then change string to integer etc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top