home bbs files messages ]

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,233 of 10,840   
   The Doctor to Ralph   
   Re: Passing Variables.   
   15 Sep 06 01:01:52   
   
   From: x203@optusnet.com.au   
      
   "Ralph"  wrote in message   
   news:ZpSdnT-9mvzi85TYnZ2dnUVZ_qudnZ2d@arkansas.net...   
   >   
   > "The Doctor"  wrote in message   
   > news:4508fdb7$0$5105$afc38c87@news.optusnet.com.au...   
   >> "Ralph"  wrote in message   
   >> news:pOednR0nI9CPp5XYnZ2dnUVZ_rWdnZ2d@arkansas.net...   
   >> >   
   >>>   
   >> >   
   >> tya, I appreciate your responses. Although I understand   
   >> the   
   >> replies, I'm struggling with the code to achieve it & I'm   
   >> hoping that someone can be a bit more specific.   
   >>   
   >> 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.   
   >>   
   >> My current approach is to write the answers to a temp   
   >> file   
   >> which apart from passing the variables, it makes it easy   
   >> to   
   >> reset the application.   
   >>   
   >> Is there a better way of doing it? A response of more   
   >> than   
   >> 'yes' would be appreciated.   
   >>   
   >   
   > Provide a little more information about "One question on   
   > each of 3 forms   
   > using option buttons."   
   > Something like this...   
   > '' Form1   
   >       "I like walks on the beach?"   
   >              * Yes   
   >               * No   
   >                * N/A   
   > '' Form2   
   >        Answer to Question One:  [  ]   
   >        "I like to read?"   
   >                 * Yes   
   >                  * No   
   >                  * N/A   
   > '' Form3   
   >           Answer to Question One: [  ]   
   >           Answer to Question Two: [  ]   
   >           "I like bald women?"   
   >                   * Yes   
   >                    * No   
   >                     * N/A   
   >   
   > -ralph   
   >   
   >   
      
   3 Forms.   
      
   Form1   
   label1.caption = "What colour are your eyes?"   
           (Control Array of 4 option buttons.)   
   option1(0).caption = "Green"   
   option1(1).caption = "Blue"   
   option1(2).caption = "Red"   
   option1(3).caption = "Purple"   
   Rem answer option1(3) = "Purple"   
      
   Form2   
   label1.caption = "What is your shoe size?"   
           (Control Array of 4 option buttons)   
   option1(0).caption = "Size 12"   
   option1(1).caption = "Size 14"   
   option1(2).caption = "Size 16"   
   option1(3).caption = "Size 18"   
   Rem answer option1(2) = "Size 12"   
      
   Form3   
   label1.caption = "Purple"   
   label2.caption = "Size 12"   
      
   --- 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