Versions des environnements
Network:
Windows 2003 Server
Hi:
I've never used ADIR() nor arrays. I'm trying to get files names from a network directory (mapped as Z:\) into a VFP cursor. This is what I've tried so far:
SET PATH TO Z:\
filecount = ADIR(existingfiles,'*.MPG')
? filecount will display 24110
DISPLAY MEMEORY existingfiles will displays all of the file information.
Now, I'd like to get this information from array 'existingfiles' into a VFP cursor by doing the following:
CREATE CURSOR filedata FROM ARRAY existingfiles
This produces a "Array dimensions are invalid" error message.
What am I missing.
TIA
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement