Form won't work properly

Stimulsoft Reports.NET discussion
Post Reply
P.Fitz
Posts: 2
Joined: Fri Jan 24, 2014 12:12 pm

Form won't work properly

Post by P.Fitz »

Hello Guys,

I have build a report and want to use a form, so that Users have the choice to change some values befor printing.

the problem is, when i make my choises with the form, not all values change.... i don't understand why...

i use text fields with this structure:

Code: Select all

{(boolean == ture) ? value1: value2}
Image

the controlbuttons change the boolean and the radiobuttons change an other one

i have attached my report for testing

Thanks a lot
Philipp
Attachments
Brillenauftrag Rechnung Die Brille Trier.mrt
(226.33 KiB) Downloaded 120 times
Last edited by P.Fitz on Fri Jan 24, 2014 4:27 pm, edited 1 time in total.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Form won't work properly

Post by Alex K. »

Hello,

Can you please send us a test data for your report.

Thank you.
P.Fitz
Posts: 2
Joined: Fri Jan 24, 2014 12:12 pm

Re: Form won't work properly

Post by P.Fitz »

it's a little complicated, we use the designer / Viewer in our software. So he's loading a defined objekt (datasource) from an SQL Database... so i first have to discuse with our Programmer, how i can provide some data to you.
:-(
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Form won't work properly

Post by Alex K. »

Hello,

You can use the following code in the BeforePrint event for save data as xml:

Code: Select all

YourDataSourceName.DataTable.DataSet.WriteXmlSchema("");
YourDataSourceName.DataTable.DataSet.WriteXml("");
Thank you.
Post Reply