Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form problem

Status
Not open for further replies.

nguyen12

Technical User
Sep 30, 2001
42
US
Hi all. I need help with form design. I have a form with many option buttons. One of the button will link to another form, so if the user select this option. It will open up form number 2. My problem is that when i am exit from form number 2 and go back to form number, i can't select to open form number 2 the second time. Can someone give me suggestion how to write an array, so that the user can select the same option more than once. Thank you.
 
Nguyen,

I would reset the calling option button's value back to 0 when you release form 2. Therefore, when you select that option button again, it should retrigger the code that calls form 2.

Hope this helps.

Steve
 
How do you use reset property. In my form2 i used thisform.reset = .F. to return to original selection from form1, but i got error message when i run my form. VFP couldn't recognize reset method. Any help??
 
In form 2's destroy event add:

myForm1.myOptionButton.Value = 0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top