A question.

shariefoo

Registered User.
Local time
Today, 11:09
Joined
Sep 29, 2003
Messages
65
Is it possible to carry a variable from one form to another ?
or Is it possible to perform a comand from one form to another form..

Example..

I have Form1 which has a command button. When i click on the command button i want it to go to another form and hide a text box (or disable a text box). Is that posible ?

I used to do it when i studied VB but now i totaly forgot.

Little help please ?
 
You can use OpenArgs to pass a value to another form (there are other ways).

You can hide/disable controls on another form (as long as it's open) with:

Forms!OtherFormName.TextBoxName.Visible = False

Forms!OtherFormName.TextBoxName.Enabled = False
 
Thank You

Thanx Paul..

Really appriciate it..
 

Users who are viewing this thread

Back
Top Bottom