Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Q:\Engineering\Microvellum\Jobs 2012\mdb test\Manufacturing Data\Part Labels_NEST.mdb;
The problem is that the portion of the path "Jobs 2012\mdb test\Manufacturing Data" will change every time a report rendering is required. From what I've gathered from reading the forums, it's not possible to use a "variable" or a "parameter" through the New Connection interface but there is a way to make a dynamic connection string through the code tab. When I view the code tab, I see my connection string information as follows:
Code: Select all
Me.Dictionary.Databases.Add(New Stimulsoft.Report.Dictionary.StiOleDbDatabase("Nest", "Nest", "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Q:\Engineering\Microvellum\Jobs 2012"& _
"\mdb test\Manufacturing Data\Part Labels_NEST.mdb;", false))