Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine Low Level File Record Count
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00911982
Message ID:
00912039
Views:
11
create cursor xjunk ( c1 c(1) )
append from c:\myfile.txt type sdf
? reccount()
>Anyone have a better idea than this:
>
>
>iHand = FOPEN("c:\myfile.txt")
>
>DO WHILE NOT FEOF(iHand)
>  sTemp = FGETS(iHand)
>  iRetVal = iRetVal + 1
>ENDDO
>			
>=FCLOSE(iHand)
>
>
>If possible, I like preserve the current point position
>
>Thanks
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform