Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 10,234 of 10,840    |
|    Steve Gerrard to The Doctor    |
|    Re: Passing Variables.    |
|    14 Sep 06 08:51:42    |
   
   From: mynamehere@comcast.net   
      
   "The Doctor" wrote in message   
   news:4508fdb7$0$5105$afc38c87@news.optusnet.com.au...   
      
   > I can't publish details of the application as it's semi-cic however I can   
   > liken it to a quiz. One question on each of 3 forms using option buttons. I   
   > need an answer from form 1 passed to form 2, both answers from forms 1 & 2   
   > passed to form 3.   
   >   
      
   Add a module to your program. Put these three lines in it:   
    Public Answer1 As String   
    Public Answer2 As String   
    Public Answer3 As String   
   These are now available to all your forms.   
      
   Since your forms look so much alike, you might also consider using just one   
   form, and changing the captions for each question.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca