Solved

How Do I Create A Free-Style (Free Flowing) Report In Visual Studio 2015?

Posted on 2016-08-23
4
46 Views
Last Modified: 2016-08-30
My application is a Windows Form Application. I am using Visual Studio 2015, Visual Basic (VB.Net) and I am creating my reports with ReportViewer. And that works great for reports that use the Table format.

What I want to do is create a report that has an IRS form image on it with fields that automatically get filled-in with information that is stored in a .accdb Access database. A table format doesn't work because the fields on the report are not in a table format. The fields are scattered in different places on this IRS form report. I was able to do this in Access VBA, but I can't figure out how to accomplish this with ReportViewer.

Is there a NuGet Package that I can add in to Visual Studio 2015 that will enable me to create a free-Style type report. Or is there another reporting package that creates this type of report that I should use?
0
Comment
Question by:Bob Valentine
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 11

Expert Comment

by:louisfr
ID: 41768335
Did you try Crystal Reports?
0
 
LVL 43

Expert Comment

by:zephyr_hex (Megan)
ID: 41768912
You can place form fields wherever you want on a page, and use CSS to style & position them.  There is no NuGet package that does that for you.
0
 

Accepted Solution

by:
Bob Valentine earned 0 total points
ID: 41770754
Thanks for all the responses. I figured out how to create a free-flowing type report using ReportViewer.

To get the image file into the report so that I can place report fields at various locations, I imported the image file and set it as the report background. Normally, if you insert an image into a report using the image control, you cannot overlap control fields. However, setting the image as the background for the report, control fields can then be placed on top of the image without creating an overlap error.

Another problem I faced was how to get single field controls that can be placed in various places on the form. I couldn't use the standard table format to do this because I needed to be able to place control fields at various locations throughout the report, not in a table format. The way to I accomplished this was to drag a Matrix control from the Toolbox onto the report designer surface and then delete a column and then delete a row from the matrix. You are then left with a single cell of the matrix that you can position anywhere on the report. And you can then assign a value to that single cell from the data source. In my case the data source was an Access database (.acdb type).

I hope this may help others who are trying to do something similar. The documentation for Microsoft's ReportViewer is sketchy at best. I looked for help in many programming books and online, but found no books that even mention the ReportViewer, and only a few articles by Microsoft that gave me some direction.
0
 

Author Closing Comment

by:Bob Valentine
ID: 41776034
This is the solution that I found that does what I wanted to accomplish with the ReportViewer.
0

Featured Post

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
How to increase the row limit in Jasper Server.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question