How to set rdlc report tablix to show record in one page

hi all,
i am in trouble to solve this.
i want to show the report in the manner in which the tablix column 1 record should continue in the
same page in column 2.
LIKE THIS:
column1      column 2
1                      6
2                     7
3                     8
4                     9
5                     10
and if their is space in the page just continues.
and if not go to next page.
i am filling my report with this code:
Conn.Open()
Dim sReportDataSource As New ReportDataSource
Dim drow As DataRow
Dim row As DataRow = Nothing
Dim DS As New DataSet
Dim dt As New DataTable
DS.Tables.Add("tblstudentsregistrationBA")
drow = dt.NewRow
'ADD THE COLUMNS TO THE TABLE
With DS.Tables(0).Columns
.Add("BA_I_roll_number", Type.GetType("System.String"))
End With
For Each dr As DataGridViewRow In DGVfinal.Rows
row("BA_I_roll_number") = dr.Cells("rollnumber").Value.ToString
DS.Tables(0).Rows.Add(row)
Next
'Create a report parameter for the sales order number
sReportDataSource.Name = "DataSet1"
sReportDataSource.Value = DS.Tables(0)
RDLCreportview.ReportViewer1.LocalReport.ReportPath = Application.StartupPath & "\Reports\classsubjectlistBA.rdlc"
RDLCreportview.ReportViewer1.LocalReport.DataSources.Add(sReportDataSource)
Dim rpEmployeeSSN As New ReportParameter()
rpEmployeeSSN.Name = "course"
rpEmployeeSSN.Values.Add(" Course :- " & cmbcourse.Text & "")
'Set the report parameters for the report
Dim parameters() As ReportParameter = {rpEmployeeSSN}
RDLCreportview.ReportViewer1.LocalReport.SetParameters(parameters)
RDLCreportview.ReportViewer1.SetDisplayMode(DisplayMode.PrintLayout)
RDLCreportview.ReportViewer1.RefreshReport()
DS.Dispose()
DS = Nothing
RDLCreportview.ShowDialog()
RDLCreportview.Dispose()
Conn.Close()
kindly help me for this.
thanks in Advance

Hi sanny007,
Based on my further research, we can use the following method to word around the issue so that the first table will print every odd row and the second table will print every even row, effectively giving you multiple column output. For more details, we can
refer to the following steps:
Add two tables to design surface.
On the Detail row of the first table, insert two fields, then use the following expression to control the row visibility:
=iif((RowNumber(Nothing) Mod 2) = 1, False, True)
On the Detail row of the second table, insert the same two fields, then use the following opposite expression to control the row visibility:
=iif((RowNumber(Nothing) Mod 2) = 1, True, False)
If there are any other questions, please feel free to let me know.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support

Similar Messages

  • How to split table in the report so it shows on the next page?

    Hi,
    How to split table in the report so it shows on the next page? Im trying to fit long (many columns) table into my report page. It is too long however. I want it to wrap and show the rest on the next page. What I get now is table cut at the page end and rest is not visible.

    Yes, this might be that the amount of data will cause table to grow and exceed 1, 2, 3.. pages. In that case I would probably want to have, lets say , one half of columns on 1st page then the other on the 2nd page and then repeatedly the same sequence down across all pages. Is there a way to achieve this?

  • How to set the report path in a model plugin

    I am trying to figure out how to set the report path in a process model plug-in. I can seem to figure out how to get access to it. It seems like this would be a reasonable thing to do since the plug-ins are for results processing. Does anyone know how to do this? We typically use the Sequential process model but I am trying to keep my plug-in as independent of that as possible. 
    Thanks.
    Solved!
    Go to Solution.

    If I understand, you want your plug-in, when enabled, to alter the settings of any other instances of the NI report plug-in such that their reports share the same directory as your plug-in is configured to use.
    If so, your plug-in can access and modify the settings of all other plug-in instances. All instances are passed to all plug-in entries point in the plugins array sub-property of the ModelConfiguration parameter. You can iterate through this array. Any element of the array with a Base.SequenceFilename equal to "NI_ReportGenerator.seq" is an instance of the NI report plug-in. Its report options are stored in the element under PluginSpecific.Options.
    You can change the report options to what ever you want. Note that the ReportOptions model callback is called from the Initialize model-plugin entry point, so you might want to ensure that your changes are applied after that, so they aren't overwritten. To do that, you could make your changes in the the Initialize entry point of your plug-in, and ensure that your plugin runs last. To make it run last, you could set the FileGlobals.ModelPluginComponentDescription.Default.Base.RunOrder in your plug-in file to a value greater than 0, such as 1.0 (see TestStand Help>>Fundamentals>>Process Model Architecture>>Process Model Plug-in Architecture>>Structure of Plug-in Sequence Files>>Model Plug-in Entry Points>>Order of Entry Point Execution at Run Time).

  • Can anyone told me :how to setting the shortcut key to show destop ?

    can anyone told me :how to setting the shortcut key to show destop ?

    Raynman was asking about what desktop environment you use in archlinux.  It is clear what you want to do, but the answer to your question depends on which Desktop Environment (like Gnome, KDE, XFCE, etc) or Window Manager you are using.

  • How to set a cookie in the browser from an html page called via an Iview

    How to set a cookie in the browser from an html page called via an Iview
    Hello all,
    I have an issue which is causing problems. I have a snap survey (html form with submit and cookie setting) which is embedded in a url iview.
    Although the submit and the form work fine, the portal will not allow the cookie to be set it seems.
    Is there a way to allow cookies to be set from an embedded page in a url iview??
    You will make my day if you know!
    System: EP7 SP13
    Kind regards
    Alex

    Hi,
    Check this:
    http://www.oracle.com/technology/products/ias/portal/html/same_cookie_domain_with_pdkv2.html
    Cookie Basics
    Web browsers have built in rules for receiving and sending cookies. When a browser makes a request to a web server and the web server returns cookies with the response, the browser will only accept a cookie if the domain associated with the cookie matches that of the original request. Similarly, when a browser makes a subsequent request, it will only send those cookies whose domain matches that of the target web server.
    These rules are designed to ensure that information encoded in cookies is only "seen" by the web server(s) that the originator of the cookie intended. These rules also ensure that the cookie cannot be corrupted or imitated by another server. By default, the domain associated with a cookie exactly matches that of the server that created it. However, it is possible to modify the domain at the time the cookie is created. Relaxing the cookie domain increases the scope of the cookie's visibility making it available to a wider "audience" of web servers.
    For example, if a cookie is created by a.us.oracle.com, it's domain will usually be set to a.us.oracle.com. This means that the browser will only send the cookie to a.us.oracle.com. It will never send it to any other servers. However, if at the time of creation, the domain of the cookie is set to .us.oracle.com, the browser will send the cookie to any server whose domain falls within .us.oracle.com. such as portal.us.oracle.com, provider.us.oracle.com, app.us.oracle.com etc
    Regards,
    Praveen Gudapati

  • How can I print multiple copies of same photo onto one page on iPhoto 9.5.1?

    How can I print multiple copies of same photo onto one page on iPhoto 9.5.1? I was able to do it on the old iPhoto, but can't seem to be able to do it on the new iPhoto. Grrr...

    Photos does the same thing.... Only workaround I can come up with is to create a template in Pages and copy & paste.

  • How to add rdlc reports to winform project with out throwing any error

    Hi,
    I have been trying to resolve this problem in all ways.I am working on win forms in VS 2010 using C#.I have designed 4 rdlc reports in a copy of same projects, and now I have been trying to add those rdlc reports to main project(same name of 2 projects).
    They are adding but throwing an error as "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible.Verify that the instance name is correct and that
    SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) "
    at 
    private void report10th_Load(object sender, EventArgs e)
    // TODO: This line of code loads data into the 'dataset10th.attendance' table. You can move, or remove it, as needed.
    this.attendanceTableAdapter.Fill(this.dataset10th.attendance);//throws an error here
    // TODO: This line of code loads data into the 'dataset10th.regestration' table. You can move, or remove it, as needed.
    this.regestrationTableAdapter.Fill(this.dataset10th.regestration);
    // TODO: This line of code loads data into the 'dataset10th.tenthclass_marks' table. You can move, or remove it, as needed.
    this.tenthclass_marksTableAdapter.Fill(this.dataset10th.tenthclass_marks);
    //this.reportViewer1.RefreshReport();
    please Help me out how to add these RDLC reports to win forms 

    Thank you for replaying me sir,
    Finally i got to know the answer through your instructions.
    I have a look into app.config file and replaced the server name as 
    <add name="f2.Properties.Settings.smssmsConnectionString" connectionString="Data Source=User-pc\sqlexpress;Initial Catalog=smssms;Integrated Security=True"
    providerName="System.Data.SqlClient" />
    //to
    <add name="f2.Properties.Settings.smssmsConnectionString" connectionString="Data Source=.;Initial Catalog=smssms;Integrated Security=True"
    providerName="System.Data.SqlClient" />

  • MS Project 2013 - How to create a report filter to show Tasks Completed Last Week

    I am attempting to create a report that can show all tasks that have been completed in the past week.  When I create the filter I can find no inherent way for this to be done and I see no basis for the logic necessary to complete this in the other predefined
    filters.  Essentially I understand the filter tool enough to be able to display all completed tasks, what i am lacking is the syntax necessary to limit the results in the "value(s)" section of the Filter Definitions screen to only present the
    previous weeks results.
    Something like this would be ideal, but it does not seem to work  "Start of the week is:"? -7d
    Any assistance with this question would be greatly appreciated.

    Thanks Rod I am going to give this a try.  I have a related question with regard to the Values that you can filter against.   I attempted to attach a screenshot of the
    filter definition for Tasks Due This week, but I am not verified so it will not allow for that.  If you go to the view tab in Project 2013, select more filters in the data section, you can select the  Tasks
    Due This Week filter and select edit.  In here you will see the values I am talking about.  I am thinking that there has to be a way to change the value that is used
    here ("Start of the week is:"?) to be that - 7 days.  To that point I have not seen anywhere that these values (EXAMPLE: "Start
    of the week is:"?) are defined, yet they are actionable in the application and are calculated values that the filter seems to understand.  They
    do not exist in the drop down for the values and I cannot find a list of all available values that MS Project will support. 
    Thank you all again for the assistance, I will give your idea a shot this morning and let you know how it goes.

  • How to link Excel tabs so data shows up in one report

    I have a huge excel file with 16 tabs (sheets) of data. Each tab has an excel speadsheet filled. I have the data in Crystal. Each tab shows up as a separate table. I've tried to link each in different ways but can only get one table to show up in the report. I want all the data in one report. If that's possible. It would be very large.

    Graham,
    Thanks for answering,
    Yes I have the tables and can link them (have tried a couple of different ways) One has all the data fields linked between tables and the other way was to run them in series with just one field linked. Either way the Field Explorer on the right side of the screen shows each table and each table lists all the fields. But the problem is that the report only shows data from one table, not all the tables or all the data. The data that it shows is only from the table that I selected the fields from.
    Hope this makes sense. Thanks

  • Crystal Report Viewer 11.5 Java SDK - How to set sub report parameter value

    Good day!
    I have a report with 3 sub-reports in the detail section. Main report has two parameters and each sub-report has one parameter in turn. We have our own JSP to receive parameter values from the user. I am using the following code to do the parameter value setting later into the report. Parameter value setting works for main report, but not for the sub-report.
    I get an Error, for the first sub-report, from the viewer saying:
    The parameter 'parametername' does not allow null values
    On this article: [article link|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap%28bd1lbizjptawmq==%29/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313337333233323331%7D.do]
    It says to set the report name of the parameter field to the name of the sub report. On this aspect, assuming this tip/solution works, I would like to read the names of the sub-reports and their parameter names. I do not want to hard-code them into our application.
    Here is my current code:
    sdk.occa.report.data.Fields parameterFields = new Fields();
    I have a HashMap of <parameterName, parameterValue>
    Iterate through the map
    report.data.ParameterField aParameterField = new ParameterField();
    aParameterField.setReportName(""); //main report
    report.data.Values theValues = new Values();
    ParameterFieldDiscreteValue aParameterFieldDiscreteValue = new ParameterFieldDiscreteValue();
    aParameterFieldDiscreteValue.setValue (aValue);
    theValues.add(aParameterFieldDiscreteValue);
    aParameterField.setName(parameterName)
    aParameterField.setCurrentValues(theValues);
    parameterFields.add(aParameterField);
    viewer.setParameterFields(parameterFields);
    Please look at the line:
    aParameterField.setReportName(""); //main report
    Here's where I would like to say
    if (parameter is subreport's parameter) then setReportName(subreport name);
    Thx

    It was little difficult to navigate down the objects to find the sub reports and their parameters. I am attaching the code:
    May be there are other ways to do the same.
    public String getReportNameForParameter (String parameterName, ReportClientDocument reportClientDoc)
            String result = "";
            boolean found = false;
            try {
                SubreportController src = reportClientDoc.getSubreportController();
                DataDefController ddc = reportClientDoc.getDataDefController();
                IDataDefinition idd = ddc.getDataDefinition();
                Fields fs = idd.getParameterFields();
                Iterator fiter = fs.iterator();
                while (fiter.hasNext()) {
                    IField ifld = (IField) fiter.next();
                    if (parameterName.equals(ifld.getName())) {
                        found = true;
                    //System.out.println ("\t Field Name/Description/HeadingText: " + ifld.getName() + "/" + ifld.getDescription() + "/" + ifld.getHeadingText());
                if (!found) {
                    IStrings reportNames = src.getSubreportNames();
                    //System.out.println ("  Sub Reports If Any ...");
                    if (reportNames != null) {
                        Iterator iter = reportNames.iterator();
                        while (iter.hasNext()) {
                            String repName = (String) iter.next();
                            //System.out.println ("\t Sub Report Name " + repName);
                            ISubreportClientDocument srcd = src.getSubreport(repName);
                            ddc = srcd.getDataDefController();
                            idd = ddc.getDataDefinition();
                            fs = idd.getParameterFields();
                            fiter = fs.iterator();
                            while (fiter.hasNext()) {
                                IField ifld = (IField) fiter.next();
                                if (parameterName.equals(ifld.getName())) {
                                    result = repName;
                                    break;
                                //System.out.println ("\t\t Field Name/Description/HeadingText: " + ifld.getName() + "/" + ifld.getDescription() + "/" + ifld.getHeadingText());
            //System.out.println ("********************************************************** ");
            catch (Exception exc) {
                System.out.println ("Error/Exception while trying to find the report name for parameter [" + parameterName + "]");
                System.out.println ("*******************************************************************************************");
                exc.printStackTrace();
            return result;

  • Report problem (Paginations show record count, report blank)

    I am using a custom report template to show data in detail form and allowing users to use the pagination to move from record to record. I have the maximum rows returned as 1.
    The problem is in a very specific set of circumstances if the query returns only two results the report shows nothing. The pagination show two records (using search engine pagination style) but nothing (with the exception of the top and bottom pagination bars) is displayed until the user clicks on one of the linked numbers.
    Has anyone had similar problems, does anyone have any idea how to correct this problem?
    Thanks in advance.
    Gary

    Check any branches to this page to see that they have "reset pagination for this page" checked. I had a problem with pagination where the user could specify query criteria and the branch back to the page was not resetting the pagination.
    Just a thought,
    Mike

  • How to get the report summary to the bottom of the page?

    Hi all. Does anyone know how can I get the report summary to
    stick to the bottom of the page, like the page footer? Basically, I
    have a report that displays line items on an order. At the end of
    the report, there is a signatory section or acknowledgment. If I
    stick this in the page footer, then it displays at the bottom of
    the page, but on every page. If I put it on the report footer, than
    it follows immediately after the details, and not at the bottom of
    the page. What I need is the report footer to be at the bottom of
    the last page.
    Any ideas?

    Greetings. Thanks for the post. I am not having problems with
    a page number. I am having problems with getting the report footer
    contents to be at the bottom of the last page. The closest solution
    I have found is to put the content in the page footer, and then
    hide the page footer until the last page. However, this leaves
    whitespace on all of the other pages, which isn't ideal. I really
    need an attribute that allows me to set the report footer to print
    at the bottom of the page, like the page footer.

  • How to set a menu as a top or root one

    Hello to all,
    I am using Encore CS5.1
    1)The problem.
    I would like to set the first menu in the sequence as the "Root menu" (or "Top menu" depending on the remote control).
    Unfortunately in the DVD I have made each time I click on the key "Top menu" the DVD comes back to a submenu.
    2)The details
    Let's look at the following flowchart.
    I would like to transform the menu "Nicole_et_JP" (yellow circle) as the "Top menu". The problem is that when I click on the "Top menu" key on my remote control the DVD player goes to "C_etait_nous_menu" (red circle).
    Maybe the numbers B2 (for the first one) and B1 (for the second one) are related to the problem.
    3)The question
    I have not found out the answer in the help. So could you help me to learn how to set a given menu as a root (or top) one.
    Any help appreciated, thank you.
    Jean-Paul

    I don't know where I got this note, but it illustrates why I stay confused about remotes:
    DVDs have a title or top menu, which will take the user to the menu specified for title remote. Timelines have a menu property, which takes you to the menu specified for the timeline (menu remote). The two should not be confused.
    Go to the Flowchart and select the Disc icon. Then look at the Properties panel. Set the title remote as you wish - where will the user go when they push the top menu button.
    So, logically, I suspect that you do not have the "title remote" set correctly.
    But it may also turn out that the buttons are not doing what the Adobe help file says. (I suspect that is where I got the above verbiage. But I can't find it now.) And I have not gotten around to testing this. It is one of those things that can only be tested using real remotes and not computer player.
    Maybe the numbers B2 (for the first one) and B1 (for the second one) are related to the problem.
    The B1 and B2 show the default button for the menu.

  • How to set up slider mobile menu widget on master and pages of mobile website in Muse

    Adobe Muse Slider Mobile Menu Widget by MuseThemes
    I am new to mobile website design and Muse, I love this widget, but I am not sure how to set it up on multiple pages.
    Do I put it on the master? Content covers it when it is on master, so I could use some help.
    Thanks so much, anyone know of tutorials or can anyone give me a game plan to set up. thanks so very much!

    Thanks, my issue was that the content was in front of the navigation menu see screen shot (taken in preview in Muse)

  • How to set up a second iphone/itumes account on one computer

    Hi,
    I have iTunes on my windows laptop and my iPhone and my iTunes account is currently set up on my iTunes.
    I want my partner to also be able to have her own iTunes account and iPhone on my laptop.
    I have read a few forums but I cannot follow any of the instructions. The steps outlined are not available on my iTunes program. for example on apple suppor it says
    Windows users
    Look in your computer's Help documentation to learn how to set up other user accounts. To find this information:
    Click the Start Menu and click Help or Help and Support.
    Enter "new user" in the Search field.
    Press Return.
    when I go to my iTunes and go to help my options are "iTunes help" or "Apple service and support" and neither of these option allow you to search for "new user" so these instructions are useless.
    Can someone please give simple step by step instructions

    You seem to know alot, so I am contacting you regarding my query
    I bought a second iPod touch for my daughter. My problem is that this second iPod is not being recognized as a device... therefore I cannot sync it or add any content to it. Do you know how I can add a second iPod to my iTunes so that I am able to sync it?
    I have gone through all of the troubleshooting (restarting iPod, restarting computer, reseting iPod to factory default...etc). Can you please help me?

Maybe you are looking for

  • Oracle Server's harddisk out of space. DBCompress in Oracle 9i

    My oracle server's PC is running out a harddisk space because of volume of data. I deleted huge data in order to lessen the occupied space but still out and it doubled the occupied. e.g. DELETE FROM TABLE1 WHERE TBLNO > 100000 I am thinking of log fi

  • Line Item not showing in MB02

    Hi, In ML81N, there are 7 line items showing against 1 Purchase Order. and when we saw in MB02, then only 1 line item shows. How it's possible that in ML81N showing 7 line items but not showing in MB02. please clear...

  • Random circles in prints from Photoshop

    How do I eliminate these weird random circles, varying sizes +/- 1/2 inch with about .5 line weight and no fill that do not display in my print preview and are not in my image file, from my prints with Photoshop?

  • Using NI-VISA to detect USB insertion/​removal

    Is there a way to use NI-VISA to detect when a USB device has been inserted or removed? I am currently using Windows API in my LabWindows application to capture the WM_DEVICECHANGE event.  When this event is called, I check to see if the USB devices

  • SQL Plus username and password

    I have downloaded Oracle 10g from a CD I received in my Oracle Developer Book and I can't do any of the chapter assignments, because it is asking me for username and password. I have registered at the oracle website and received a keycode, but it nev