<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:m =
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18812">
<STYLE>@font-face {
        font-family: Cambria Math;
}
@font-face {
        font-family: Calibri;
}
@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 72.0pt 72.0pt 72.0pt; }
P.MsoNormal {
        MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt
}
LI.MsoNormal {
        MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt
}
DIV.MsoNormal {
        MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.EmailStyle17 {
        FONT-FAMILY: "Calibri","sans-serif"; COLOR: windowtext; mso-style-type: personal-compose
}
.MsoChpDefault {
        mso-style-type: export-only
}
DIV.Section1 {
        page: Section1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-NZ link=blue vLink=purple>
<DIV><SPAN class=859364902-04082009><FONT color=#0000ff size=2 face=Arial>I got
around the problem by putting these statements in the stored
procedure</FONT></SPAN></DIV>
<DIV><SPAN class=859364902-04082009><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=859364902-04082009><FONT color=#0000ff size=2
face=Arial> SET CONCAT_NULL_YIELDS_NULL on;<BR> SET ANSI_WARNINGS
on;<BR> SET ANSI_PADDING on;<BR> SET ARITHABORT
on;<BR></FONT></SPAN></DIV>
<DIV><FONT size=2 face=Arial>Have a nice day</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Regards</FONT></DIV>
<DIV><FONT size=2 face=Arial>Leigh</FONT></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr>
<DIV dir=ltr class=OutlookMessageHeader align=left><FONT size=2
face=Tahoma>-----Original Message-----<BR><B>From:</B>
delphi-bounces@delphi.org.nz [mailto:delphi-bounces@delphi.org.nz]<B>On Behalf
Of </B>Jeremy Coulter<BR><B>Sent:</B> Tuesday, 4 August 2009 2:30
p.m.<BR><B>To:</B> 'NZ Borland Developers Group - Delphi
List'<BR><B>Subject:</B> Re: [DUG] QuickReport Delphi 5 Enterprise MSSQL 2005
Storedprocedure<BR><BR></FONT></DIV>
<DIV dir=ltr align=left><SPAN class=734332802-04082009><FONT color=#0000ff
size=2 face=Arial>does the Stored proc. you are calling work ok if you call it
in iSQL?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=734332802-04082009><FONT color=#0000ff
size=2 face=Arial>That would help eliminate it being something wrong with the
stored proc.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=734332802-04082009><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=734332802-04082009><FONT color=#0000ff
size=2 face=Arial>Jeremy</FONT></SPAN></DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> delphi-bounces@delphi.org.nz
[mailto:delphi-bounces@delphi.org.nz] <B>On Behalf Of </B>Leigh
Wanstead<BR><B>Sent:</B> 4 August 2009 14:26<BR><B>To:</B> NZ Borland
Developers Group - Delphi List<BR><B>Subject:</B> [DUG] QuickReport Delphi 5
Enterprise MSSQL 2005 Stored procedure<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=046582302-04082009><FONT color=#0000ff size=2 face=Arial>Good
afternoon,</FONT></SPAN></DIV>
<DIV><SPAN class=046582302-04082009><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=046582302-04082009><FONT color=#0000ff size=2 face=Arial>I am
calling a stored procedure in Quick report Dataset. I got the error shown in
the attachment.</FONT></SPAN></DIV>
<DIV><SPAN class=046582302-04082009><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=046582302-04082009><FONT color=#0000ff size=2 face=Arial>What
can I do?</FONT></SPAN></DIV>
<DIV><SPAN class=046582302-04082009><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=046582302-04082009><FONT color=#0000ff size=2
face=Arial>TIA</FONT></SPAN></DIV>
<DIV><SPAN class=046582302-04082009><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=046582302-04082009><FONT color=#0000ff size=2
face=Arial>Regards</FONT></SPAN></DIV>
<DIV><SPAN class=046582302-04082009><FONT color=#0000ff size=2
face=Arial>Leigh</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>