>><add name="vfpRTP2" connectionString="Provider=VFPOLEDB.1;Data Source=|DataDirectory|2040sharedfiles\2040rtp.dbc" providerName="System.Data.OleDb"/> >>>>Which works when I run the form but fails when I configure the datasource.
>string WhereItsLooking = (string)AppDomain.CurrentDomain.GetData("DataDirectory");>
<add name="vfpRTP2" connectionString="Provider=VFPOLEDB.1;Data Source=|DataDirectory|\2040sharedfiles\2040rtp.dbc" providerName="System.Data.OleDb"/>(backslash added) however it crashes if you try to go back and edit the data connection with the wizard. I suspect it's just an incompatibility with the driver.