>The reccount() is not working.
>Here is my code:
>
>i=1
>for i=1 to reccount()
> replace myfld with i
> if !eof()
> skip
> endif
>endfor
>
>What I want to do is change the value of myfld in all the records in the table. This FOR LOOP will not do that.
>any ideas?
I´d say that you are missing either a GOTO TOP before the loop, or a GOTO (I) before the REPLACE. (If you opt for the latter solution, you can remove the IF construct.)
HTH!
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only