RE: for loops
- From: Leemi@xxxxxxxxxxxxxxxxxxxx (Lee Mitchell)
- Date: Mon, 16 Jan 2006 21:34:37 GMT
Hi Tom:
Works for me.
for i = 1 to 3
if this.value = cpass
do something
else
WAIT window"message you cant get in"
WAIT WINDOW STR(i)
endif
endfor
I hope this helps.
This posting is provided "AS IS" with no warranties, and confers no rights.
Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell
*-- VFP9 HAS ARRIVED!! --*
Read about all the new features of VFP9 here:
http://msdn.microsoft.com/vfoxpro/
*--Purchase VFP 9.0 here:
http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52
69-4500-8bf2-3f06689f4ab3&type=ovr
Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/gp/lifeselectindex
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retired Sept. 30th, 2003
>Hey again. i am putting together a for loop. what i want to do is, give a
>user 3 trys to type in the correct password and if they dont i will kick
them
>out.
>now, i have something written, but i cant get my value of (i) to increase.
>for i = 1 to 3
> if this.value = cpass
>do something
>else
>"message you cant get in"
>endif
>endfor
>i know this isnt as i wrote it, so i know this dont work but you get the
>idea.. any thoughts?
.
- Prev by Date: Re: Problem with parent-child grids
- Next by Date: Re: Problem with parent-child grids
- Previous by thread: Problem with parent-child grids
- Next by thread: Re: for loops
- Index(es):
Relevant Pages
|