BUG in preview
Domi
Belgium
Hi,
I have the following bug in preview a report :
I have the following bug in preview a report :
Comments
It doesn't use any Chart, that's why I have posted this problem.
here is the report.
Sincerly,
Domi
you must debug it from designer.exe, open the frx file, at report start event, you can set 'dummy parameter value' with code.
for instance: Report.SetParameterValue("@appli.copyright", "Test");
then run it, is it working? error?
I have put the code in the StartReport but it's never fired (MessageBox is never displayed) ! I have missed something maybe ?
<Report ScriptLanguage="CSharp" StartReportEvent="_StartReport">
here is the new report, can you indicate why the _StartReport & Page1_StartPage are never fired ? (if necessar, I can provide the .mdb but the problem occurs before)
thanks in advance,
Domi.
1. DO NOT USE DOT SEPARATOR IN PARAMETER NAME, because dot separator is internally reserved by fastreport for [TABLENAME.FIELDNAME]
change :
@Appli.connstring to paramconnstring
@Appli.copyright to paramcopyright
@Societe.raisonsociale to paramraisonsociale
@Societe.DateDebEx to paramDateDebEx
@Societe.DateFinEx to paramDateFinEx
or using underscore is fine too, @Appli_connstring, try it
then make a correction to :
- related textobject in the report
- script for declaring dummy value
2. LOOK AT PARAMETER SECTION
replace with :
<Parameter Name="paramconnstring" DataType="System.String"/>
<Parameter Name="paramraisonsociale" DataType="System.String"/>
thanks for your fast reply.
I have made the requested modifications (and the methods Form1_Load and _StartReport are now reached) and I get my first error back :
Exception in Chart handling
Failed to compare two elements in the array
....
although, I don't use any chart in the report (as you can see in the .fpx you have)
Any idea ?
Tkx,
Domi.
1. open with notepad => relation between 2 tables : parent/child datasource IS NULL, here is the cause of error 'Failed to compare two elements in the array'
Delete it :
2. textobject with binary datasource, Cell33 is linked to field LETT => <Column Name="LETT" DataType="System.Byte"/>