Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HT Display dbf structure and sample data?
Message
From
15/11/2000 23:08:35
 
 
To
15/11/2000 19:51:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00441931
Message ID:
00442476
Views:
14
>Yes, but how would I run this against the entire directory automatically?
LOCAL aDBF[1,5], nCtr
nDBF = ADIR(aDBF,'*.DBF')
FOR nCtr = 1 TO nDBF
   USE (aDBF[nCtr,1])
   ? aDBF[nCtr,1], aDBF[nCtr,2],'bytes',recc(),'records'
   DO <i>whatever the function was</i>
   USE
ENDFOR
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform