Page 1 of 1

Method : [BaseAdd] error ?

Posted: Sun Nov 02, 2008 10:41 pm
by magicang
Hi there,

I'm design a report and i pass some dynamic create sql and statement to my datasource.

Some sort like :-
If chkException.Checked Then
If Included = "" Then
Included = " AND ((M.EXCEPTIONOCCUR='Y')"
Else
Included = Included + " OR (M.EXCEPTIONOCCUR='Y')"
End If
End If
If chkEarlyOut.Checked Then
If Included = "" Then
Included = " AND ((M.EARLYOUT='Y')"
Else
Included = Included + " OR (M.EARLYOUT='Y')"
End If
End If

But while i preview report, this error come out occasionally :-

Method : [BaseAdd]
DataTable already belongs to this Dataset


Any idea to solve it?

Thanks in advance.

Method : [BaseAdd] error ?

Posted: Mon Nov 03, 2008 2:19 am
by Edward
Hi.

Please send the report and the code for calling of the report to support[at]stimusloft.com for analysis.

Thank you.

Method : [BaseAdd] error ?

Posted: Wed Nov 05, 2008 6:29 am
by Edward
Thank you for the test data. The answer has been sent to your e-mail address.

Thank you.