SIMPLE QUESTION, please SIMPLE ANSWER 
Author Message
 SIMPLE QUESTION, please SIMPLE ANSWER

Hello,

I m a french Visual Basic young user:

Just ONE question:

a-I create test01.FRM (principal windows)
  on this windows one button to go on test02.FRM (test02.show 1)

b-On test02.frm I say: toto="9999999".

c-How I must transfer the value: toto on test01.FRM to
  show her in a text case ????????

Thank s for your help....

ERIC (Paris, France)

(please can you e-mail your answer...)



Tue, 16 Sep 1997 03:00:00 GMT  
 SIMPLE QUESTION, please SIMPLE ANSWER

Quote:
>Just ONE question:

>a-I create test01.FRM (principal windows)
>  on this windows one button to go on test02.FRM (test02.show 1)

>b-On test02.frm I say: toto="9999999".

>c-How I must transfer the value: toto on test01.FRM to
>  show her in a text case ????????

I'm not sure I follow all of that, but if you want to pass a variable from one form
to another in VB, you must either declare the variable as Global, or pass the value
within a control property (such as Tag) of a form that is loaded.

Good luck.

---------------------

---------------------



Fri, 19 Sep 1997 03:00:00 GMT  
 SIMPLE QUESTION, please SIMPLE ANSWER

Eric...

Create a Module...
File - New Module ...

Set Object to (General)
Set Proc to (Declarations)

Now type

Global MyString as String

On form2, in your subroutine, you can set MyString to whatever string value you like and then use that value in form 1.



Wed, 24 Sep 1997 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. SIMPLE QUESTION : SIMPLE ANSWER?

2. SIMPLE QUESTION : SIMPLE ANSWER?

3. Simple Question...simple answer???

4. HELP! simple question need simple answer

5. HELP! simple question need simple answer

6. HELP! simple question need simple answer

7. simple SQL question... please answer

8. SIMPLE SIMPLE ListView Question. Please help

9. A simple Mail problem in search for a equally simple answer

10. Simple Question: Assigning Icon to an App : Simple Question

11. Anyone want answer a simple question???

12. Simple Question, how about the answer?

 

 
Powered by phpBB® Forum Software