I have a project that uses the DED & Data Reports, and for installation purposes, I need to set its ConnectionString at runtime (so I can incorporate the App.Path object)

I thought I could put this code in the Form_Load or DataEnvironment_Initialize event:

Dim dbConnectString As String

dbConnectString = "Provider=Microsoft.Jet.OLEDB.4.0;" _
& "Data Source=" & App.Path & "\Database\data.mdb"

DataEnvironment1.DEConnection.ConnectionString = dbConnectString

However, when I consequently try to open a Data Report that accesses one of the commands I built under the DEConnection, the program crashes, giving me an inexplicable error: "Data Source name too long". This doesn't happen when I define the ConnectionString at design time, though.

How do I make this work?!?? Your help is appreciated.