dynamic connection string

Stimulsoft Reports.NET discussion
Post Reply
nezarabd
Posts: 32
Joined: Tue Sep 30, 2014 1:38 pm

dynamic connection string

Post by nezarabd »

in connection string i am using
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=G:\nezar\nezarabd@yahoo.com\Dropbox\control\control\control.accdb;Persist Security Info=True;Jet OLEDB:Database Password=asdfgh

it work ok

when i make a setup program and use my program in another pc
not work

i try use |DataDirectory| like i use in vb.net didn't work
how to make this in report

thanks in advance
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: dynamic connection string

Post by HighAley »

Hello.

You could use report variables in the connection string or set it's value from code.
Could you specify how do you use DataDictionary and what version of our product do you use?

Thank you.
Post Reply