TulsaMurph
Programmer
(Originally posted in General coding thread)
I have used FP 2.6 for most of my programming and am now working on converting to VFP. I have created a formset with two forms. On one form, a command button runs a previously written program with some @...Get lines I am trying to replace with new programming. On the second form, I have the necessary text boxes and so forth, but how do I get the running program to focus on the second form? Currently, I start my second form as invisible, then in code, change it to visible, which makes the form appear but does not gather info from it. If I use DO Form, it seems to stop the program, but the form is not accessible. I have tried both mode 1 and 0 but I am missing something. I have also been able to accomplish the same thing using several different forms and calling each one with DO FORM, but would like to avoid creating a new form for each question/answer.
Thanks for the help!
I have used FP 2.6 for most of my programming and am now working on converting to VFP. I have created a formset with two forms. On one form, a command button runs a previously written program with some @...Get lines I am trying to replace with new programming. On the second form, I have the necessary text boxes and so forth, but how do I get the running program to focus on the second form? Currently, I start my second form as invisible, then in code, change it to visible, which makes the form appear but does not gather info from it. If I use DO Form, it seems to stop the program, but the form is not accessible. I have tried both mode 1 and 0 but I am missing something. I have also been able to accomplish the same thing using several different forms and calling each one with DO FORM, but would like to avoid creating a new form for each question/answer.
Thanks for the help!