Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADIR()
Message
De
13/11/2000 14:43:26
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: ADIR()
Divers
Thread ID:
00441179
Message ID:
00441191
Vues:
26
>>I wnat to use ADIR() in order to get info on my tables.
>>The code line is as follows:
>>gnDbcnumber = ADIR(gaDatabase, GETDIR("import","bla bla...")+"\*.DBC")
>>I get no table data and ofcourse 0 value at the gnDbcnumber variable.
>>When I issue the following: DIR GETDIR("import","bla bla...") I get all the data to the screen, so I ruled out the possibility of the path
Change ".DBC" to ".DBF" unless you really want a list of the Database Containers - which you could then open one at a time and use ADBOBJECTS() to get a fairly comprehensive list of contents. You should also consider storing the return value from GETDIR() to a variable so that you can determine if the User cancelled.

Thank You very much Houston !
I don't remember where I left my Brain this morning :-)
Some Q. are best left "unquestioned", the Q. above was one of those...

Thanks again,
Gadi
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform