This is a migrated thread and some comments may be shown as answers.

Converting Form to Report (40 fields)

7 Answers 96 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 25 Mar 2008, 10:18 PM
Hi,

On my Form, I have a bunch of fields, about 40.  These are mostly
RadTextBoxes and RadDatControls, and 3 or 4 LARGE RadTextBoxes.

Basically, with a standard layout form, I want to create the same kind of report,
as if it was a Screenshot of the Form.  Anotherwards, everything should line
up approximately the same way.

I don't want to have your typical report with 5 or 6 columns across,   I need
to show all of the data on the report.

I haven't browsed the forum much yet, but am planning to do so.  Do you have any ideas or links on how to make a complex form report.

Thanks,
David

7 Answers, 1 is accepted

Sort by
0
David
Top achievements
Rank 1
answered on 25 Mar 2008, 11:48 PM
No need to answer on this one.  I see it's pretty much drag and drop.

I wasn't expecting it to be that easy.   Sometimes I don't want to try.  :)

David
0
David
Top achievements
Rank 1
answered on 26 Mar 2008, 04:44 PM
I'm trying to do a Parameterized Report, and I looked at tutorial:
http://www.telerik.com/ClientsFiles/product.videos/28/

But the Param1 property doesn't show.  I'm not using a Window Form,
I'm using a Web Form.

Thanks,
David

0
David
Top achievements
Rank 1
answered on 26 Mar 2008, 04:58 PM
This is the code I have now, and I'm trying to tweak it to make it work.

TR.BS_TrackingDataSet1TableAdapters.

Subpoena_OrdersTableAdapter s = new TR.BS_TrackingDataSet1TableAdapters.Subpoena_OrdersTableAdapter();

TR.

BS_TrackingDataSet1.Subpoena_OrdersDataTable t = new TR.BS_TrackingDataSet1.Subpoena_OrdersDataTable();

t = s._Get(4);

TR.

Report3 r = new TR.Report3();

r.DataSource = t;

rvFTBReport.Report = r;

rvFTBReport.DataBind();

0
David
Top achievements
Rank 1
answered on 26 Mar 2008, 09:28 PM

I worked this out.   You have to had in a generic DataSet created on the fly.
Then add your table which captures the TableAdapter data based on your criteria.  rvFTBReport is the variable I used for the Report Viewer.

Hope this helps, David

TR.BS_TrackingDataSet1TableAdapters.

BS_TrackingDataSet1TableAdapter s = new TR.BS_TrackingDataSet1TableAdapters.BS_TrackingDataSet1TableAdapter();

TR.

BS_TrackingDataSet1.BS_TrackingDataSet1TableDataTable t = new TR.BS_TrackingDataSet1.BS_TrackingDataSet1TableDataTable();

int TrackingID = Convert.ToInt32(lblAutoNum.Text);

t = s.GetData(TrackingID);

DataSet ds = new DataSet();

ds.Tables.Add(t);

TR.

Report1 r = new TR.Report1();

r.Report.DataSource = ds;

rvFTBReport.Report = r;

 

0
David
Top achievements
Rank 1
answered on 26 Mar 2008, 09:28 PM

I worked this out.   You have to had in a generic DataSet created on the fly.
Then add your table which captures the TableAdapter data based on your criteria.  rvFTBReport is the variable I used for the Report Viewer.

Hope this helps, David

TR.BS_TrackingDataSet1TableAdapters.

BS_TrackingDataSet1TableAdapter s = new TR.BS_TrackingDataSet1TableAdapters.BS_TrackingDataSet1TableAdapter();

TR.

BS_TrackingDataSet1.BS_TrackingDataSet1TableDataTable t = new TR.BS_TrackingDataSet1.BS_TrackingDataSet1TableDataTable();

int TrackingID = Convert.ToInt32(lblAutoNum.Text);

t = s.GetData(TrackingID);

DataSet ds = new DataSet();

ds.Tables.Add(t);

TR.

Report1 r = new TR.Report1();

r.Report.DataSource = ds;

rvFTBReport.Report = r;

 

0
David
Top achievements
Rank 1
answered on 26 Mar 2008, 09:29 PM

I worked this out.   You have to had in a generic DataSet created on the fly.
Then add your table which captures the TableAdapter data based on your criteria.  rvFTBReport is the variable I used for the Report Viewer.

Hope this helps, David

TR.BS_TrackingDataSet1TableAdapters.

BS_TrackingDataSet1TableAdapter s = new TR.BS_TrackingDataSet1TableAdapters.BS_TrackingDataSet1TableAdapter();

TR.

BS_TrackingDataSet1.BS_TrackingDataSet1TableDataTable t = new TR.BS_TrackingDataSet1.BS_TrackingDataSet1TableDataTable();

int TrackingID = Convert.ToInt32(lblAutoNum.Text);

t = s.GetData(TrackingID);

DataSet ds = new DataSet();

ds.Tables.Add(t);

TR.

Report1 r = new TR.Report1();

r.Report.DataSource = ds;

rvFTBReport.Report = r;

 

0
David
Top achievements
Rank 1
answered on 26 Mar 2008, 09:29 PM

I worked this out.   You have to had in a generic DataSet created on the fly.
Then add your table which captures the TableAdapter data based on your criteria.  rvFTBReport is the variable I used for the Report Viewer.

Hope this helps, David

TR.BS_TrackingDataSet1TableAdapters.

BS_TrackingDataSet1TableAdapter s = new TR.BS_TrackingDataSet1TableAdapters.BS_TrackingDataSet1TableAdapter();

TR.

BS_TrackingDataSet1.BS_TrackingDataSet1TableDataTable t = new TR.BS_TrackingDataSet1.BS_TrackingDataSet1TableDataTable();

int TrackingID = Convert.ToInt32(lblAutoNum.Text);

t = s.GetData(TrackingID);

DataSet ds = new DataSet();

ds.Tables.Add(t);

TR.

Report1 r = new TR.Report1();

r.Report.DataSource = ds;

rvFTBReport.Report = r;

 

Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Answers by
David
Top achievements
Rank 1
Share this question
or