< snip >
>>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
Does it work if you replace GETDIR("import","bla bla...") with hardcoded path?
Like
gnDbcnumber = ADIR(gaDatabase, "X:\MyDir\" + "*.DBC")
--sb--