FoxStudent
Technical User
I am incounting problmes with a read in my do while loop of a current project. I am receiving the messaage 'variable not found' and when suspended the read is highlighted. I have never had this problem before in fox pro csn you assist. The offensive command read is highlighted in red.<br>Thank you from<br>Fox Student<br>e-mail: <A HREF="mailto:ge@pctechnology.fsnet.co.uk">ge@pctechnology.fsnet.co.uk</A><br><br>do while m->spartcod <> 9999<br> use parts<br> *Prompt + enter the part code<br> store 0 to m->spartcod<br> @m->row,11 get m->spartcod picture "9999"<br> <font color=red>read</font><br> wait window 'This is after the read'<br> store "" to m->response<br> *Repeat the following loop until the user enters a valid part code or<br> *selects a part from a complex part search<br> do while m->spartcod = 0<br> *Ask the user if they want to perform a complex part search<br> define window concomp from 20,16 to 23,63 title 'Would you like to perform a complex search?'<br> activate window concomp<br> @1,7 get m->response picture '@*h Yes;No'<br> read<br> release window concomp<br> close data<br> if m->response = "Yes"<br> set directory to (progpath)<br> do compsear &&Execute perform complex part search<br> *The part code of the record that was selected in the<br> *complex part search is displayed on the form<br> @m->row,11 get m->spartcod picture "9999"<br> clear gets<br> else<br> *Prompt + enter the part code again<br> @m->row,11 get m->spartcod picture "9999"<br> endif<br> enddo<br><br>