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