send code from windows form to report
-
- Posts: 3
- Joined: Sun Sep 28, 2008 2:40 pm
- Location: Spain
send code from windows form to report
as you would to send a fact to report to print, to say the computer 350, as the filter?
send code from windows form to report
Hello.
You can send mdc file of rendered report between computers. This mdc file could be used for printing from other computers without necessity of building that report on other computers.
Here is the code for saving of the rendered report:
And Here is the code for printing of that report on any other computer:
Thank you.
You can send mdc file of rendered report between computers. This mdc file could be used for printing from other computers without necessity of building that report on other computers.
Here is the code for saving of the rendered report:
Code: Select all
report.Render(false);
report.SaveDocument("myRenderedrepot.mdc");
Code: Select all
report.LoadDocument("myRenderedrepot.mdc");
report.Print();
-
- Posts: 3
- Joined: Sun Sep 28, 2008 2:40 pm
- Location: Spain
send code from windows form to report
sorry, I mean how to filter data from a windows form?
I also would be useful, for example, put a code in a textbox windows of a form and show the details in the report
send code from windows form to report
Hello.
There is a flash video for your task:
http://www.stimulsoft.com/livedemos/Rep ... ilter.html
Define a 'MyVariable' variable in the Dictionary and set it inside of the form and use that variable inside of the filter:
Thank you.
There is a flash video for your task:
http://www.stimulsoft.com/livedemos/Rep ... ilter.html
Define a 'MyVariable' variable in the Dictionary and set it inside of the form and use that variable inside of the filter:
Code: Select all
Customers.Country == MyVariable