Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to display files in floppy to grid
Message
 
 
To
05/04/2002 16:39:50
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00641646
Message ID:
00641663
Views:
13
>Hi gang
>
>How to display the filename,size of all the files in the floppy in a grid.
>
>txs
* Create Cursor with the file list
DIMENSION laList[1]
CREATE CURSOR FileList (;
	FileName C(32), FileSize N(12))
lcDir = "A:\"
Adir(laList, lcDir + "*.*")
Select FileList
APPEND FROM ARRAY laList
* Now you can use this cursor as the Recordsource of the grid
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform