Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
For .... Endfor Statement
Message
From
08/07/1999 12:31:53
 
 
To
08/07/1999 12:18:19
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00238902
Message ID:
00238924
Views:
10
If your problem is that you aren't picking up the corrent last_rec value, you may need to

select cdcid
m.last_rec = last_rec
select newtable
for i = 1 to m.last_rec
append blank
next


>To modify your code just slightly
>
>FOR i = 1 to RECCOUNT('cdcid')
>APPEND BLANK
>NEXT
>
>HTH
>
>
>>I'm trying to create a FOR statement that will appen blank records in a table >based on the number of records in a different table.
>
>>FOR i=1 TO CDCID.LAST_REC
>>APPEND BLANK
>>ENDFOR
>
>>CDCID.LAST_REC contains the total number of records that's been entered in for >the current session.
--Todd Sherman
-Wake Up! Smell the Coffee!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform