
data enviroment and data report
1. You can specify the connections's ConnectionString property in the
dataenvironment and reopen them. For exmaple:
DataEnvironment1.Connection1.ConnectionString =
"provider=microsoft.jet.oledb.4.0;data source=" + App.Path + "\db1.mdb"
DataEnvironment1.Connection1.Open
2 There isn't such a template. However, you can change items on a
datareport programmatically. For example,
DataReport1.Sections(3).Controls("Label1").Caption= "Test"
Hope this help
Luke
(This posting is provided "AS IS", with no warranties, and confers no
rights.)