I've been developing some reports for a client who uses a FoxPro database. For development, I've been using the files locally on my hard drive but I'm now ready to test against live data. However, I'm unable to connect to the db over the network.
The connection string for my local files is:
I've mapped the location of the db on the network to my O drive and have tried the following formats, but I keep getting an 'Invalid path or file name' error:
(sbs01 is the server name)
None of these work, although they are all valid paths as far as Windows is concerned. I've posted on a couple of Foxpro forums but no response so far, so was just wondering if anyone here can offer any suggestions.
Thanks
The connection string for my local files is:
Code:
$conn->Open('Provider=VFPOLEDB.1;Data Source="D:\\db\Comp_B.DBC";');
I've mapped the location of the db on the network to my O drive and have tried the following formats, but I keep getting an 'Invalid path or file name' error:
Code:
$conn->Open('Provider=VFPOLEDB.1;Data Source="O:\\operav5\Data\CompB\Comp_B.DBC";');
$conn->Open('Provider=VFPOLEDB.1;Data Source="\\sbs01\operav5\Data\CompB\Comp_B.DBC";');
$conn->Open('Provider=VFPOLEDB.1;Data Source="O:\operav5\Data\CompB\Comp_B.DBC";');
(sbs01 is the server name)
None of these work, although they are all valid paths as far as Windows is concerned. I've posted on a couple of Foxpro forums but no response so far, so was just wondering if anyone here can offer any suggestions.
Thanks
Last edited: