Page 1 of 1

Form won't work properly

Posted: Fri Jan 24, 2014 12:43 pm
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

Re: Form won't work properly

Posted: Fri Jan 24, 2014 1:39 pm
by Alex K.
Hello,

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

Thank you.

Re: Form won't work properly

Posted: Fri Jan 24, 2014 2:37 pm
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.
:-(

Re: Form won't work properly

Posted: Mon Jan 27, 2014 5:56 am
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.