🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #4304

Error reporting...

#4304
From: Jurko
Date: Tue, 05 Feb 2002 14:09
19 lines
1603 bytes
I have a question on reporting errors from stored procedures.

I know how to look through the ADODB.Connection objects errors
collection and report all the errors written there, however one thing
escapes me...

Is there any way to get the exact stored procedure name and line number
where a particular error occured... I know that the MS-SQL's query
analyzer reports the same errors that I do when I run the query in it but
it also somehow reports the 'exact' location of the error..

I've looked through all the ADODB obect's properties but haven't been
able to find that information.

If anyone knows anything that might help me find it and is willing to
share it I'd be most grateful...

Thank you,
    Jurko
Technical Details
Message-ID: <esoo3a.r1l.ln@news.ve-mil.hr>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news-x2.support.nl!newsfeed.frii.com!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!news.ve-mil.hr!nobody

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,4149019a1056f1eb,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-02-05 06:29:31 PST
From: "Jurko" <Jurko@ve-mil.hr>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Error reporting...
Date: Tue, 5 Feb 2002 15:09:30 +0100
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <esoo3a.r1l.ln@news.ve-mil.hr>
NNTP-Posting-Host: 195.29.221.130
X-Trace: dnews 1012918569 195.29.221.130 (5 Feb 2002 06:16:09 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news-x2.support.nl!newsfeed.frii.com!out.nntp.be!propagator-SanJose!in.nntp.be!newsfeed01.tsnz.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews!news.ve-mil.hr!nobody