General information
Category:
Coding, syntax & commands
>>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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only