>Just in case nobody noticed so far, you're missing the +".SCX" in the bolded line, so your path_name has a filename without an extension. Therefore the "USE &path_name && IN 0 SHARED" tries to open a file with a default extension of .dbf, which is most probably not there.
>
>BTW, why did you split the pathnames into three parts? I usually have them in memo fields; nowadays they can be rather long, specially with UNCs. Besides, the "drive" part of an UNC may have substantial length.
>
>But then it's a different matter, which would deserve a separate thread or a quick poll by Michel: mapped drives or UNCs, pros and cons.
I forgot: if your path name contained any spaces, USE &path_name would break. You'd have to Use "&path_name", or to Use (path_name). Preferrably the second, it was always faster.