Information générale
Catégorie:
Codage, syntaxe et commandes
>>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
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