Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADIR()
Message
From
13/11/2000 14:37:25
Gad Hutt
Express Print
Herzliya, Israel
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: ADIR()
Miscellaneous
Thread ID:
00441179
Message ID:
00441188
Views:
9
>>Hi All,
>>
>>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...
>>
>>Any Ideas?
>>
>>Thanks In Advance,
>>Gadi Hutt
>

>The problem is "\" before *.dbc because GETDIR returns path with ending "\".
>The code below should work
>
>gnDbcnumber = ADIR(gaDatabase, GETDIR("import","bla bla...")+"*.DBC")

Hi Sergey,
Thank you for the quick answer.
You are right of course, and for a minute I thought that should be it, but unforntially (for me..) it is still not working...
?

Gadi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform