Pass value of datagridview in crystal report or rdlc report - rdlc

How can I pass all the value of datagridview to crystal report or rdlc report? I try everything but nothing works T_T It's been 3 days since I was finding a solution about this. Can someone please help me.

Related

Crystal Report Using List Items

Can anyone help me to get the result in crystal report as displayed in the image where I have 3 tables.
Would it possible to show to bill in crystal report with the help of RecordSelectionFormula? Other method will also work.
Click here for Image with tables and bill format required
Create a group on Bill NO. and set ID and Item Name in Details.

Form Subreport Print in Access 2016

So I have this form where I have two textboxes that filter the data of a subreport presented in the form by month and location so it brings me to the record I want of the subreport.
This all works great I'm able to see the report and when I filter using the textboxes it shows the data I want. The textboxes basically just change the RecordSource of the subreport thus giving me the information I'm looking for.
The problem is when I try to print the report with a button on the form. It prints the wrong data. I noticed that when I save the form and close it then open it up again and try to print it does print the data I searched for before closing the report in the first place.
I'm guessing somehow access filters the data into the subreport and not the report itself and when I try to print the data from the report not the subreport on the form the report doesnt have the data yet.
So how can I print the subreport and not the report?
Thank you very much in advance.

How to achieve this in crystal report?

How to do this in crystal report with sub-report
the image above is from excel and that's what im trying to achieve..and here's what i do in crystal report
and after i run it..the result is devastating..lol here's what it looks like
the sub-report is just keep on repeating..lol how to fix this ? i already set the sub-report link id's..it's all good but the only problem is that its keep on repeating where what i want is to only show the sub-reports content if the id's is match..btw im using vb.net for the project
Don't put it in the Details Section. I suggest you put it in your Report Footer Section or Group Footer Section (based on which group you are summarizing). Putting it in the Details Section will repeat the Sub Report depending on how many records you show in that area.

How to check if no rows retrieve from command in crystal report?

How to check if no rows retrieve from command in crystal report?
My solution: Crystal Reports: Display a Message When Report Has No Data
When do you want to "check" ?
"If you want to catch it in your form, you would need to have some code in the form perform the same query that the report will perform and see if there are any records returned before loading the report. Then you can show your message box and cancel before the report is loaded." - David Stratton (Original thread here)
Specifically in the report? See this article
It seems if you want to do this in the report itself you'll essentially be using the same method you would be in your program, by using a Count() of the rows returned.
I think this would be somewhat similar to HasData property in VBA.
Here is also another thread related to what you're asking.
Have you tried anything?

How to change the parameter type in crystal report of the existing report?

I have a crystal report with 2 subreports. The type of the one of the field got changed in the database from number to string. The main report has no parameters but the subreport has this parameter. Now when I try to run the report I get the error in the record selection formula. A string is expected here. My question is How do I make the type change for that field so that I can run my report. ?
Easy to do. And FUN, too!
Assuming you can change the link to the subreport, you can:
1) create a formula to manipulate that field in the main report, explicitly converting it into the format you neend. Then,
2) use THAT formula as the link to the subreport
Should work a charm, "Bob's yer oncle", and all that.
The solution was to remap the bindings of the report with the changed datatype in the dataset