<!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 http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR>
<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 {
        FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
LI.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
DIV.MsoNormal {
        FONT-SIZE: 11pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"
}
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 {
        COLOR: windowtext; FONT-FAMILY: "Calibri","sans-serif"; 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 vLink=purple link=blue>
<DIV dir=ltr align=left><SPAN class=421565202-04082009><FONT face=Arial
color=#0000ff size=2>yeah sometimes I have to put SET NOCOUNT ON in some
stored procs too.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=421565202-04082009><FONT face=Arial
color=#0000ff size=2>I find some stored procs throw a wobbly in ASP as well as
Dephi, but I suspect thats more of an ADO issue since I use ADO in both
technologies.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=421565202-04082009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=421565202-04082009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=421565202-04082009><FONT face=Arial
color=#0000ff size=2>Jeremy</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><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:50<BR><B>To:</B> NZ Borland Developers
Group - Delphi List<BR><B>Subject:</B> Re: [DUG] QuickReport Delphi 5 Enterprise
MSSQL 2005 Storedprocedure<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=859364902-04082009><FONT face=Arial color=#0000ff size=2>I got
around the problem by putting these statements in the stored
procedure</FONT></SPAN></DIV>
<DIV><SPAN class=859364902-04082009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=859364902-04082009><FONT face=Arial color=#0000ff
size=2> 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 face=Arial size=2>Have a nice day</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards</FONT></DIV>
<DIV><FONT face=Arial size=2>Leigh</FONT></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----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 face=Arial
color=#0000ff size=2>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 face=Arial
color=#0000ff size=2>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 face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=734332802-04082009><FONT face=Arial
color=#0000ff size=2>Jeremy</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><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 face=Arial color=#0000ff size=2>Good
afternoon,</FONT></SPAN></DIV>
<DIV><SPAN class=046582302-04082009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046582302-04082009><FONT face=Arial color=#0000ff size=2>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 face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046582302-04082009><FONT face=Arial color=#0000ff size=2>What
can I do?</FONT></SPAN></DIV>
<DIV><SPAN class=046582302-04082009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046582302-04082009><FONT face=Arial color=#0000ff
size=2>TIA</FONT></SPAN></DIV>
<DIV><SPAN class=046582302-04082009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=046582302-04082009><FONT face=Arial color=#0000ff
size=2>Regards</FONT></SPAN></DIV>
<DIV><SPAN class=046582302-04082009><FONT face=Arial color=#0000ff
size=2>Leigh</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>