Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to display files in floppy to grid
Message
 
 
À
05/04/2002 16:39:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00641646
Message ID:
00641663
Vues:
14
>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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform