I need to write a click event procedure to count from 1 to 20 using a DO-LOOP. And declaring the variables at the form level<br>
I wrote this at the form level<br>
Dim intcount as variable<br>
<br>
At the cmdcount_click level I wrote,<br>
<br>
intcount=intcount + 1<br>
Do while intcount<= 20<br>
loop <br>
print intcount<br>
Now for those of you who know this already this is way easy<br>
however I'm brand new and I can not get this to run any suggestions. besides the obvious like get out of programming
I wrote this at the form level<br>
Dim intcount as variable<br>
<br>
At the cmdcount_click level I wrote,<br>
<br>
intcount=intcount + 1<br>
Do while intcount<= 20<br>
loop <br>
print intcount<br>
Now for those of you who know this already this is way easy<br>
however I'm brand new and I can not get this to run any suggestions. besides the obvious like get out of programming