How to generate a Yii Report - yii

I'm new at Yii, and I'm trying to generate some reports with some user input (fill the form and then click 'generate'). I want to query my database to look for some transactions on a date range, but I really don't know how to do it.
Does anyone have any examples I might look at?
Thanks in advance. I would really appreciate the help. Regards.

In Yii, you can create a table and using the Gii crud generator to create a form and view. This view could be considered a report.
what kind of report do you want exactly?

Commonly reports are taken by existing created transaction only.there is no need to create any input fields to reports.As by the answer of 'jarchuleta' you can create forms using crud and For date range report you can check this, question may be irrelevant but the code i posted is for date range report

Related

Auto complete for signup form in yii2

Good day!!
I need autocomplete in yii2 in one text input. I have two database and I need to connect to the second database to get the value on the table of that database.
Can someone please show me how.. Just use an example. Thank you!

Struggling creating a basic list report in SSRS

I have a stored procedure I need to automate that looks at each company id in my dataset and outputs one csv for each id.
Right now I am trying to figure out how to create a basic list report in SSRS, then create a data driven subscription that cycles through all company ids - then outputs CSVs to a shared folder.
I am completely new to SSRS and have been Googling, but so far no results. I was wondering if anyone knew of any good pointers or resources to get this done?
What version of SSRS are you using. You also need to create list report first and then you can do data driven subscription.
Here are few articles that might help you.
http://knowlton-group.com/creating-data-driven-ssrs-subscriptions/
http://www.databasejournal.com/features/mssql/data-driven-subscription-in-ssrs-2008-r2.html
https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=7&ved=0ahUKEwjZ3fHGrP3NAhVJNj4KHYhBD-UQFghHMAY&url=http%3A%2F%2Fwww.commongroundsolutions.net%2FSSRS_DataDrivenSubscriptions_Methodology.pptx&usg=AFQjCNHgrYfJn_u_YlQDgZo4rAPOwzombQ&sig2=5flvqG-sItnoQaLsRwmh9w&bvm=bv.127178174,d.cWw&cad=rja
https://www.experts-exchange.com/articles/10969/Data-Driven-Subscription-using-SSRS-2012.html

SQL Statement from VS2005 Reporting Services to SSMS

When I make a report in Reporting Services I would like a way to automatically fill in some of the report's configuration in my database.
For example I have a table 'parameter' and a table 'report', how can I automatically insert the parameters and report name, from the report I just created using VS2005, in my database?
I am looking to use/write a plugin or something like that, or is there a method that is a lot easier but that I am just overlooking?
Your help would be very much appreciated :)
Put your insert code inside a stored procedure and call it in your data tab. Make sure you have insert/update permissions for the sql user.
Hope it helps!

SQL SSRS Report Builder - cannot see views only tables?

I am using SSRS Report Builder with SQL 2005 and I am trying to build some reports from my data sources.
However when I bring up the data source entities it is only showing tables not views which is what I want to use to make the coding neater and easy to use.
Am I missing something? Can anyone advise a way to get the views to be shown up in the Entities options?
Any help much appreciated.
Thanks,
Based on the note in the following posting, if you created your model using Report manager it does not show views. You need to use Development studio.
See this link

How to present the result of a dynamic pivot request in SQL Server 2005 Reporting Services?

I have a dynamic pivot request I would like to present in a report of Reporting Services.
As it is dynamic, the number of columns of the result is variable (as is the name of the columns). How could I create a report showing a table handling this variable number of columns ?
You can also use the Matrix control to pivot the results in the report instead of in the query. This way you don't have to use any custom solution.
You will need to implement a dynamic report definition file. Here is a link that will help you get started. It is a VS Project that dynamically creates a RDLC file with a table, via a datatable. I used it as the base of my current report system.
C# Version
VB.NET Version
If you have any questions about this, let me know. I've been generating RDLC files for quite a while now, and encountered pretty much every issue you could think of :)