Passing varibales between forms... (1 Viewer)

Emohawk

What a wicked mullet...
Local time
Today, 18:43
Joined
Mar 14, 2002
Messages
79
I need to pass a boolean value from one form to a second form (a pop up screen) and then back, this seems like such a simple operation but I can't seem to work this one out. ARGH!!!

Sorry, the Topic should read Variables... Not sure what varibales are...

[This message has been edited by Emohawk (edited 11-26-2001).]
 

Robert Dunstan

Mr Data
Local time
Today, 18:43
Joined
Jun 22, 2000
Messages
291
Hi there

Sorry I don't know what varibales are either!! Anyhow try creating a public variable in a module:

Public MyVar as Boolean

Having a public variable will make it available to all of your objects in your database.

HTH
Rob
 

jwindon

Registered User.
Local time
Today, 18:43
Joined
Aug 12, 2001
Messages
531
Can you use the Open Arguments on the forms?

(OpenArgs)
 

Emohawk

What a wicked mullet...
Local time
Today, 18:43
Joined
Mar 14, 2002
Messages
79
Using the module approach, works a treat. As an added benefit I can now pull code out of my forms to improve reuse. Sweet. Thanks
 

Users who are viewing this thread

Top Bottom