Adding a second dataset

Stimulsoft Reports.NET discussion
Post Reply
Dale Lewis
Posts: 4
Joined: Wed Dec 30, 2009 8:05 am
Location: Zanesville, OH

Adding a second dataset

Post by Dale Lewis »

I am using Stimulsoft Reports.Net as the report generator in Microvellum. Is it possible to add a second dataset in my reports? If so, how is it done?
Dale W. Lewis
Engineering Manager/Network Administrator
Mock Woodworking Co.
4400 West Pike
Zanesville, OH 43701
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Adding a second dataset

Post by Edward »

Hi

Yes, that is possible to do.

Please use the same technique of adding the second dataset as you used for adding the first dataset.

Thank you.
Dale Lewis
Posts: 4
Joined: Wed Dec 30, 2009 8:05 am
Location: Zanesville, OH

Adding a second dataset

Post by Dale Lewis »

Microvellum comes with report templates that are already connected to the database it normally uses to generate reports. I've never actually connected to a database, because when I open a report to modify it the database is already there.
Dale W. Lewis
Engineering Manager/Network Administrator
Mock Woodworking Co.
4400 West Pike
Zanesville, OH 43701
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Adding a second dataset

Post by Edward »

Hi

Can you add a Connection to any source from the designer? (Xml, SQL, csv or any other connections)

By default it is a button in the Dictionary panel - New Connection.

Thank you.
Dale Lewis
Posts: 4
Joined: Wed Dec 30, 2009 8:05 am
Location: Zanesville, OH

Adding a second dataset

Post by Dale Lewis »

Yes, I believe that option is available. I just don't know what information i need to provide to make the connection. The report is already connected to a database called OverdrivePro.mdb. I am trying to connect to another file called Moldings.mdb. Any help is greatly appreciated.
Dale W. Lewis
Engineering Manager/Network Administrator
Mock Woodworking Co.
4400 West Pike
Zanesville, OH 43701
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Adding a second dataset

Post by Jan »

Hello,

Please check attached image. Also developers can deny any actions which available in report designer. So may be you can't add new connection and can use only default connection (provided from code).

Thank you.
Attachments
302.Sample.png
302.Sample.png (123.15 KiB) Viewed 1317 times
Dale Lewis
Posts: 4
Joined: Wed Dec 30, 2009 8:05 am
Location: Zanesville, OH

Adding a second dataset

Post by Dale Lewis »

Yes, that option is available. My question is really two-fold.

1) What type of connection do I want to create? The database I am trying to access is a Microsoft Access database called Moldings.mdb.

2) What information do I enter in the dialog box or boxes that follow the selection of my connection type (name, alias, connection string, etc.)?
Dale W. Lewis
Engineering Manager/Network Administrator
Mock Woodworking Co.
4400 West Pike
Zanesville, OH 43701
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Adding a second dataset

Post by Edward »

[quote="lewis".dale]Yes, that option is available. My question is really two-fold.

1) What type of connection do I want to create? The database I am trying to access is a Microsoft Access database called Moldings.mdb.[/quote]
You need to create connection to OleDb database.

Please see the part of the following video for creation of 'Connection String'. The same actions you will do when you add a OleDb Connection in the Designer when you create a OleDb type of connection.

http://www.stimulsoft.com/livedemos/dat ... le_DB.html

[quote="lewis".dale]2) What information do I enter in the dialog box or boxes that follow the selection of my connection type (name, alias, connection string, etc.)?[/quote]
name - Connection name
alias - friendly Connection name for the user of the report template (can be the same or can bring some sense to the purpose of the connection for end user)
Connection String - will be formed automatically in the Wizard as it was shown in the video in 1).

Thank you.
Post Reply